Adding timestamps in variable query

I’m using elasticsearch as my datasource. When I change date and time in the grafana, the variable values are not updating. I need to add timestamps in my variable query. So, how can I achieve it?


You’ll have to enable per template variable a setting for refreshing on time range change.


Thank you sir, it solved my problem! :slightly_smiling_face: