# Kibana Controls Does not Show All Possible Values

**URL:** <https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957>\
**Category:** Kibana\
**Created:** [July 21, 2020, 2:13am UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957 "2020-07-21T02:13:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pulkit007](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@pulkit007](https://discuss.elastic.co/u/pulkit007)\
**Post date:** [July 21, 2020, 2:13am UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957/1 "2020-07-21T02:13:40Z")

</div>

Hi,

I am using Kibana 6.6.0. In that, I am trying to create controls based on the distinct possible values of a particular filed. Now, all the distinct possible values are not shown in the controls.

I have also created a table in my dashboard to populate the count of all the distinct possible values of that filed. Strange thing is that, I am getting all the possible values in that table, but not in the controls. (For example, I am getting 15 distinct possible values in the table, but in controls, it is showing only 5 values).

I have also checked the network tab to check the total number of hits. It is not limited to any value (as mentioned in this issue [Controls do not show all possible values](https://discuss.elastic.co/t/controls-do-not-show-all-possible-values/158943/4)) and populates all the docs.

So what could be the reason behind this?

This issue is creating a lot of problems in visualization and needs to be resolved at earliest.

Thank You !

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [July 24, 2020, 9:27pm UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957/2 "2020-07-24T21:27:04Z")

</div>

Hi @pulkit007 -- Have you tried increasing the `size` on the control to be greater than 5?

 ![Screen Shot 2020-07-24 at 3.26.09 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/8/5834bf65bfb42bde37ccee0c5ba4397410a47f18.png)

---

<div class="post-metadata">

**Author:** ![pulkit007](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@pulkit007](https://discuss.elastic.co/u/pulkit007)\
**Post date:** [July 27, 2020, 4:55pm UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957/3 "2020-07-27T16:55:07Z")

</div>

I was using Dynamic Options enabled. I disabled it and changed size to 500. Still there is inconsistency.

I am getting 15 distinct possible values in the table but only 8 in pod controls.

---

<div class="post-metadata">

**Author:** ![pchakour](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@pchakour](https://discuss.elastic.co/u/pchakour)\
**Post date:** [July 28, 2020, 10:13am UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957/4 "2020-07-28T10:13:35Z")

</div>

It **depends on the number of documents** that you have in your index.  
The controls visualization set the option **terminate\_after** to request Elasticsearch.  
This option ( **100000** by default) **limits the number of search** hits per shard.  
So, it's possible that these 100000 documents don't contain all your values.

You have **two solutions** to get all your values :

- change this value directly in the Kibana code
- migrate to Kibana 7.X that allow you to change this value by setting the parameter kibana.autocompleteTerminateAfter in the configuration file

---

<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:** [August 25, 2020, 10:13am UTC](https://discuss.elastic.co/t/kibana-controls-does-not-show-all-possible-values/241957/5 "2020-08-25T10:13:37Z")

</div>

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