# Kibana size parameter in split bar visualizations

**URL:** <https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361>\
**Category:** Kibana\
**Created:** [December 7, 2016, 8:11pm UTC](https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361 "2016-12-07T20:11:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wokmichel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wokmichel/32/48057_2.png) [@wokmichel](https://discuss.elastic.co/u/wokmichel)\
**Post date:** [December 7, 2016, 8:11pm UTC](https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361/1 "2016-12-07T20:11:24Z")

</div>

Hello,  
I am having trouble understanding how Kibana 5.0 handles the size parameter in term aggregations for split bar charts.

As an example, have a look [here](http://demo.elastic.co/beats/app/kibana#/visualize/edit/CPU-usage-per-process?_g=()) :

The size parameter is set to 10 but the graphs shows way more fields :

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7afee27d4c30c1d666c8bd94bc92fe3fc7adf7d0.png)

When set to 3, the amount of processes shown is still correct but it goes hayward from 4 on :

- With 3 :

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/88027930b77922ffe170e919a51d881d5dbe72eb.png)

- With 4 :  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/3/3de40336437ce39ec6ff0d262d87346dd5d9c18c.png)

Am I missing something or is that the expected behavior ?  
Anyway, thank you very much, in advance, for your help 🙂

(Edited for typos)

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [December 8, 2016, 5:39am UTC](https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361/2 "2016-12-08T05:39:14Z")

</div>

The query created in this visualizations asks, for each 30s interval from now back to 15 minutes ago, get me the 10 processes that had the highest CPU usage percentage. It's not always the same 10 processes for each interval.

When you change it to `Size: 3`, the data only has processes that fight for 1st-3rd place in top CPU usage. For 4th place and lower, there are a lot of processes that have similar CPU usages that interchange their ranking from one interval to the next.

You can see the actual query and result in the Spy panel, by clicking the little upward-caret icon below the visualization.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/3/3e2290a9396512cde3f3448c614e18092b769577.jpg)

The JSON in the "Response" tab shows which processes were the top 10 for each interval. You can also copy the JSON from the "Request" tab and get the query created by Kibana.

---

<div class="post-metadata">

**Author:** ![wokmichel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wokmichel/32/48057_2.png) [@wokmichel](https://discuss.elastic.co/u/wokmichel)\
**Post date:** [December 13, 2016, 2:32pm UTC](https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361/3 "2016-12-13T14:32:09Z")

</div>

@tsullivan, sorry for being so long to reply.  
This explains the noticed behavior.  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 10, 2017, 2:32pm UTC](https://discuss.elastic.co/t/kibana-size-parameter-in-split-bar-visualizations/68361/4 "2017-01-10T14:32:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
