# Controls still not showing all possibilities

**URL:** <https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616>\
**Category:** Kibana\
**Created:** [February 24, 2020, 10:00am UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616 "2020-02-24T10:00:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Louw](https://avatars.discourse-cdn.com/v4/letter/_/ee7513/32.png) [@\_Louw](https://discuss.elastic.co/u/_Louw)\
**Post date:** [February 24, 2020, 10:00am UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616/1 "2020-02-24T10:00:46Z")

</div>

I ran into [this post](https://discuss.elastic.co/t/controls-do-not-show-all-possible-values/158943/5) and [this post](https://discuss.elastic.co/t/kibana-control-in-visualization-not-showing-all-values-than-expected/213896) about the issue of the controls visualization not showing all possible values.

I have a lot of documents in my index, but not many distinct values in the desired field:

```
"aggregations" : {
    "MaanedsNavn" : {
      "doc_count_error_upper_bound" : 0,
      "sum_other_doc_count" : 0,
      "buckets" : [
        {
          "key" : "Maj",
          "doc_count" : 233767
        },
        {
          "key" : "April",
          "doc_count" : 232518
        },
        {
          "key" : "Januar",
          "doc_count" : 221372
        },
        {
          "key" : "Juni",
          "doc_count" : 215444
        },
        {
          "key" : "Februar",
          "doc_count" : 201171
        },
        {
          "key" : "Marts",
          "doc_count" : 79964
        },
        {
          "key" : "Juli",
          "doc_count" : 65474
        } ] }

```

And my controls are only picking up on 4 of them:

 ![gtg](https://us1.discourse-cdn.com/elastic/original/3X/1/9/19312c316dc95297aeeabfdce48e9b029ad3d03d.png)

Is the only solution really to change the timeout for all of Kibana just to get this single visualization working? If so, can someone advice on how to safest do this in Elastic Cloud?

---

<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:** [February 24, 2020, 11:32pm UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616/2 "2020-02-24T23:32:01Z")

</div>

Hi, does the time range selected in the upper righthand date filter make any difference? The terms that appear in the selection must be present in the filtered data shown on the dashboard.

---

<div class="post-metadata">

**Author:** ![\_Louw](https://avatars.discourse-cdn.com/v4/letter/_/ee7513/32.png) [@\_Louw](https://discuss.elastic.co/u/_Louw)\
**Post date:** [February 25, 2020, 7:11am UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616/3 "2020-02-25T07:11:45Z")

</div>

Yes, the screenshot is from a time filter including all the data in the data set.  
As I understand it, the way Elastic queries to get the distinct values, it takes documents until it timeouts/ the max doc count is reached.  
And I would think it possible to make a distinct search as I can do in the console, but maybe it's more complicated than I think?

---

<div class="post-metadata">

**Author:** ![raya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raya/32/55497_2.png) [@raya](https://discuss.elastic.co/u/raya)\
**Post date:** [February 28, 2020, 12:05am UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616/4 "2020-02-28T00:05:58Z")

</div>

Hi Mia Unfortunately you are correct and it's not possible to change the limit used by this distinct search in order to make sure all values are returned. Looks like you are indeed running into the timeouts: see discussion in [https://github.com/elastic/kibana/issues/47453](https://github.com/elastic/kibana/issues/47453)

---

<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 27, 2020, 12:06am UTC](https://discuss.elastic.co/t/controls-still-not-showing-all-possibilities/220616/5 "2020-03-27T00:06:11Z")

</div>

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