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

Date histogram with more than 25 aggregations not getting displayed in Kibana 5.2 #10132

Closed
algestam opened this issue Feb 1, 2017 · 4 comments · Fixed by #10134
Closed

Date histogram with more than 25 aggregations not getting displayed in Kibana 5.2 #10132

algestam opened this issue Feb 1, 2017 · 4 comments · Fixed by #10134
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent

Comments

@algestam
Copy link

algestam commented Feb 1, 2017

Kibana version: 5.2

Elasticsearch version: 5.2

Server OS version: Ubuntu 16.04.1 LTS x64

Browser version: Chrome 55.0.2883.87

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): Download page

Description of the problem including expected versus actual behavior:

Vertical bar charts that rendered ok before updating to Elastic Stack 5.2 are not rendered after upgrade to 5.2 if the chart contains bar splitted into too many items (sub aggregation). Instead a message "There are too many series defined." is shown in the chart.

This is what the chart looks like with 5.1.2:
verticalchart

This is the same chart in 5.2:
verticalchart-5 2

By looking at the Kibana code, this change seems to have been introduced by the heatmap visualization changes: https://github.com/elastic/kibana/blame/ae150f583509536afec93ab08f9ea9b80761bcf6/src/ui/public/vislib/visualizations/point_series.js#L39

Steps to reproduce:

  1. Click the Visualize tab
  2. Click "Vertical bar chart" under Create New Visualization
  3. Select a suitable index
  4. Click X-Axis to create buckets on the X-Axis
  5. Select Date Histogram as Aggregation type
  6. Click Add sub-buckets
  7. Click Split Bars
  8. Create a sub aggregation that will split the bars into many items. For my data, selecting Terms and a suitable field where many variations exists will do.
  9. Generate chart and observe the error if any individual bar chart is splitted into more than 25 items.

Errors in browser console (if relevant):

No errors shown in the console

Provide logs and/or server output (if relevant):

Describe the feature:

@algestam algestam changed the title Datehistogram with more than 25 aggregations not getting displayed in Kibana 5.2 Date histogram with more than 25 aggregations not getting displayed in Kibana 5.2 Feb 1, 2017
@epixa epixa added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Feb 1, 2017
@imweijh
Copy link

imweijh commented Feb 7, 2017

How can I apply @ppisljar 's patch ?
I follow commits modify 3 .js files, remove /usr/share/kibana/optimize/bundles/*
restart kibana service, but not working.
something else needed ? thanks

@ppisljar
Copy link
Member

ppisljar commented Feb 7, 2017

Its probably best to wait for 5.2.1 version

@imweijh
Copy link

imweijh commented Feb 8, 2017

Thanks for reply. Just want confirm the patchs works in my case.

@sasauz
Copy link

sasauz commented May 19, 2017

In Kibana 5.4 in Heatmap is the same Message

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants