Not sure if it’s intended or not…
Say you have a multi value template variable $X with values of AAA and BBB selected and a query in grafana for elastic:
Item: [[X]]
This works… and the actual query in the header is something like:
{“query_string”:{“analyze_wildcard”:true,“query”:“item: (“AAA” OR “BBB”)”}}
But if I use something like this in the query:
Item: foreword[[X]]
Then it’s going to look like this in the query with multi value $X:
{“query_string”:{“analyze_wildcard”:true,“query”:“item: foreword(“AAA” OR “BBB”)”}}
No results… I guess it doesn’t work as I anticipated. It works with a single value. (Requires a refresh of the page though…)
I somehow assumed that the query would have been:
{“query_string”:{“analyze_wildcard”:true,“query”:“item: (“forewordAAA” OR “forewordBBB”)”}}
And that would have worked in Elastic.
Any ideas or comments if I’m completely wrong?