Skip to content
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

chris-walker opened this issue May 15, 2013 · 1 comment

issue with pie chart field splitting on hyphen #84

chris-walker opened this issue May 15, 2013 · 1 comment


Copy link

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.

Copy link

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:

spalger pushed a commit to spalger/kibana that referenced this issue Mar 3, 2016
Later we could put other modes in there based on response type.

Closes elastic#84
harper-carroll referenced this issue in harper-carroll/kibana Jul 11, 2016
madirey added a commit to madirey/kibana that referenced this issue Jan 31, 2020
orouz pushed a commit to orouz/kibana that referenced this issue Jan 13, 2022
ari-aviran added a commit to ari-aviran/kibana that referenced this issue Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants