-
What Grafana version and what operating system are you using? 9.4.2
-
What are you trying to achieve?
I have an Elasticsearch datasource with a nested field that when posting to Elasticsearch is an array of strings or empty (null).
The data view shows it like this:
In Discover, I see it like this:
In Grafana, I can see those records in a panel’s table:
Now, how do I query in Grafana for records that have a particular array value?
When I do:
study_chain.study_ids:"[STUDY_FOO, STUDY_BAR]"
Nothing is returned.
When I do:
study_chain.study_ids:"["STUDY_FOO"]"
I get some results, but also those containing STUDY_BAR
.
Adding .keyword
does not work either, so when I do:
study_chain.study_ids.keyword:"STUDY_FOO"
it returns STUDY_BAR
as well.