Elastic search Dinamic graphic

I created a dashboard connected to a Elasticsearch data source.I made a variable in the dashboard

{“find”: “terms”, “field”: “sensor”}

In the graph settings, I did know how to make that when I selected a sensor the data changes, do I have to do anything in the graph query?

Thank’s guys


You use the variable in query field using $varname syntax

Hi Torkel,

I’m really sorry and very few days in Grafana, could you tell me how? in the ELK live demo did not work…or any document to read how?

Thank’s again


ELK live demo? This i Grafana :slight_smile:

Example Elasticsearch dashboard with templates:

Sorry Torkel, last friday the live demos was down, i’m going to deeply explore, thank’s for your help and patience