# Rollup Job Visualisation - Top Ranking Items

**URL:** https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099
**Category:** Kibana
**Created:** [February 3, 2021, 9:13am UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099 "2021-02-03T09:13:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![michaelpietzsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michaelpietzsch/32/72828_2.png) [@michaelpietzsch](https://discuss.elastic.co/u/michaelpietzsch)
#### Post date: [February 3, 2021, 9:13am UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/1 "2021-02-03T09:13:02Z")

</div>

Hi dear Elastic and Kibana Users,

i am having issues running a visualisation for the top tiers when going against a rollup dataset.  
This issue happens in a pie diagramm aswell as a top list. The results vary when changing the amount of results displayed. In my understanding the Top 10 should be the same as the Top 15 for example... just without the 5 lowest. Is anybody else encountering this issue?

Regards Michael

---

<div class="post-metadata">

### Author: ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)
#### Post date: [February 4, 2021, 1:11pm UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/2 "2021-02-04T13:11:02Z")

</div>

Read this section of the doc: [Terms Aggregation | Elasticsearch Reference [5.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-approximate-counts)

When you increase the n of the top-n in your search, elasticsearch will be more precise, but the search will also be more expensive.

---

<div class="post-metadata">

### Author: ![michaelpietzsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michaelpietzsch/32/72828_2.png) [@michaelpietzsch](https://discuss.elastic.co/u/michaelpietzsch)
#### Post date: [February 8, 2021, 9:57am UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/3 "2021-02-08T09:57:57Z")

</div>

I belive this is not valid for 7.xx ? or the latest versions...

---

<div class="post-metadata">

### Author: ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)
#### Post date: [February 8, 2021, 3:15pm UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/4 "2021-02-08T15:15:54Z")

</div>

My understanding is that this is still the case for current versions - [Terms aggregation | Elasticsearch Reference [7.10] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-approximate-counts)

I referenced the old doc, since it provides an example of how using different N's will give you different results over the same data.

Is there some reason you believe this is not the case for recent versions Elasticsearch?

---

<div class="post-metadata">

### Author: ![michaelpietzsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michaelpietzsch/32/72828_2.png) [@michaelpietzsch](https://discuss.elastic.co/u/michaelpietzsch)
#### Post date: [February 8, 2021, 3:26pm UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/5 "2021-02-08T15:26:52Z")

</div>

I am only having this issue on rollup indicies...

---

<div class="post-metadata">

### Author: ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)
#### Post date: [February 8, 2021, 3:43pm UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/6 "2021-02-08T15:43:23Z")

</div>

You'd think it would be less likely to happen with rollup's, interesting. But I think in theory it can still happen.

It doesn't seem like this is a Kibana visualization problem, if multiple viz's show the same data. I assume you see the same thing with a plain elasticsearch query? If so, probably best to ask on the Elasticsearch Discuss group instead.

---

<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: [March 8, 2021, 3:44pm UTC](https://discuss.elastic.co/t/rollup-job-visualisation-top-ranking-items/263099/7 "2021-03-08T15:44:16Z")

</div>

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