# Kibana discover not showing correct "top 5 values"

**URL:** <https://discuss.elastic.co/t/kibana-discover-not-showing-correct-top-5-values/248478>\
**Category:** Kibana\
**Created:** [September 14, 2020, 7:35am UTC](https://discuss.elastic.co/t/kibana-discover-not-showing-correct-top-5-values/248478 "2020-09-14T07:35:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![borna\_talebi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/borna_talebi/32/76317_2.png) [@borna\_talebi](https://discuss.elastic.co/u/borna_talebi)\
**Post date:** [September 14, 2020, 7:35am UTC](https://discuss.elastic.co/t/kibana-discover-not-showing-correct-top-5-values/248478/1 "2020-09-14T07:35:34Z")

</div>

Hi,  
when I want to see the top 5 values for a field in discover, some documents are ignored and thus not showing in "top 5 values". for example if a select the facility field I can't see "SEC\_LOGIN" value:

 ![Screenshot from 2020-09-14 11-52-47](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cd70c1a669b8f24ee3408aeacf887b016e4e119b.png)

but if I manually add the filter and in the same time range as before, the "SEC\_LOGIN" value is visible now:

 ![Screenshot from 2020-09-14 11-52-34](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c20b57194401a9a269c8346eb3144b7fb181e659.png)

I tried latest chrome and firefox browser but nothing changed.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 14, 2020, 10:46am UTC](https://discuss.elastic.co/t/kibana-discover-not-showing-correct-top-5-values/248478/2 "2020-09-14T10:46:39Z")

</div>

The "top 5" values are sampled from the first 500 documents shown in the table. If these documents do not contain the value you are after, this is expected behavior and it's not possible to change it.

To get the actual top values of your data set, use a visualization with the "terms" aggregation

---

<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:** [October 12, 2020, 10:46am UTC](https://discuss.elastic.co/t/kibana-discover-not-showing-correct-top-5-values/248478/3 "2020-10-12T10:46:51Z")

</div>

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