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


None yet
2 participants
Copy link

commented May 15, 2013

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.


This comment has been minimized.

Copy link

commented May 15, 2013

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:

@rashidkpc rashidkpc closed this May 15, 2013

spalger pushed a commit to spalger/kibana that referenced this issue Mar 3, 2016

Only set output mode to json once we've put some json into it.
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

zfy0701 pushed a commit to zfy0701/kibana that referenced this issue Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.