-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
issue with pie chart field splitting on hyphen #84
Comments
You may wish to change your elasticsearch analyzer for that field. The pie chart uses the elasticsearch terms facet. When elasticsearch receives a field, it analyzes its contents and breaks it into tokens, a hyphen being one of the token separators. You may wish to set you @fields.hostname field to not_analyzed so that it isn't broken into tokens when it is indexed. The mapping section of this template has some good examples of how to accomplish this: |
Later we could put other modes in there based on response type. Closes elastic#84
I found when making a pie based on values in a field, the chart is split if the item contains a hyphen.
e.g. charting @field.hostname to count issues from 2 hosts www1-dev01 and ww2-live01 will actually create 4 pie slices as it delimits on the hyphen in the hostname.
The text was updated successfully, but these errors were encountered: