Query with multiple filters - Grafana/ElasticSearch


I meet a problem when I try to add more filters in my grafana query for "templating".

In fact, when I create a variable with a query like this :

{"find": "terms", "field": "myfield", "query": "field1:$variable1"}

It works. The terms included in myfield depend of field1:$variable1
But I would like add more filters in this query, like :

{"find": "terms", "field": "my_field", "query": "field1:$variable1" AND "field2:$variable2" AND "field2:$variable3" AND .........} Not work !

I don't find the correct syntax to add more filters.

Do you have an idea ?

Thanks and have a nice day !!



Grafana Version : 3.1.1 (latest)
ElasticSearch Version : 2.3.5 (latest)

[quote="solidz, post:1, topic:57897"]
{"find": "terms", "field": "my_field", "query": "field1:$variable1 AND field2:$variable2 AND field2:$variable3 AND ........."}
[/quote] It works