Elastic search Dinamic graphic

Hi,
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

Eduard

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

Eduard

ELK live demo? This i Grafana :slight_smile:

Example Elasticsearch dashboard with templates:
http://play.grafana.org/dashboard/db/elasticsearch-templated?panelId=1&fullscreen&edit&orgId=1

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

Best

Eduard