-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
PIE chart splits the values before making the chart #231
Comments
Note: I'm using git commit id c03373c |
Have you got this field set to not_analyzed in elasticsearch? |
I used a very basic logstash config to upload this data in to elasticsearch. |
Elasticsearch breaks fields into term, the pie chart uses a terms facet to get them back out. If you don't want a field broken into terms you need to set it as 'not_analyzed' using a template: Here's a simple explanation: |
I suggest this is a bug/necessary feature. If the itemization on the page can display the entire "user_agent" string, then the UI should support aggregating on it. Yes, I understand that elasticsearch does not work that way, but kibana, as the UI, should. Perhaps there should be an easy way to configure "not_analyzed" fields via kibana. The user-agent search is a really common use case and should not require a user to reconfigure elasticsearch by hand to support it. |
The wiki appears to have disappeared, but I found that if I selected the type with the .raw extension in Kibana then I get the pie graph grouped correctly rather than splitting on spaces. I also don't know if that's a new thing or not but it worked for me. |
Continuing of config package rename
If the values you want to show in a pie chart contain spaces then those values are split before they are placed into the pie chart. This makes those pie charts effectively useless in those situations.
As an example: If you put the user agent string from a weblog into a PIE chart then you get the screenshot below.
If I filter in one specific useragent
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
I get this:
The text was updated successfully, but these errors were encountered: