-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[regression] template tags query with ES6.x does not split on comma #16693
Comments
What is the response from Elasticsearch for the templating query? Is it different for ES 6? |
responses are different, indeed. using elasticsearch 2.3.4:
using elasticsearch 6.7.1:
Do I have to change something on the mapping side or on the grafana request? |
I did my homework and rechecked everything. the fielddata error does not appear in Grafana, it is hard to dig into the issue. Just for info, below are the tests made: On elasticsearch 6.x
|
What happened:
Using Elasticsearch 6.7.1 the group/tags are no more splitted.
My documents have a "@roles" field which can contains for the example: "master,ssh,storage"
using group tags, I can literally see the string "master,ssh,storage" in the list.
What you expected to happen:
Using elasticsearch 2.4 the group/tags are separated and do the job
How to reproduce it (as minimally and precisely as possible):
I tried different format for the "@roles" field, keyword and text, exact same issue.
tags query: {"find": "terms", "field": "@roles"}
tags value query: {"find":"terms", "field": "@hostname", "query": "@roles:$tag"}
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: