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

Created on 1 Feb 2017  路  4Comments  路  Source: elastic/kibana

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:

Visualizations PR sent bug

All 4 comments

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

Its probably best to wait for 5.2.1 version

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

In Kibana 5.4 in Heatmap is the same Message

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pkubat picture pkubat  路  75Comments

Vineeth-Mohan picture Vineeth-Mohan  路  149Comments

panda87 picture panda87  路  206Comments

JulienPalard picture JulienPalard  路  95Comments

rashidkpc picture rashidkpc  路  116Comments