# Kibana suggestion api not showing all values

**URL:** <https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [October 4, 2020, 3:51pm UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905 "2020-10-04T15:51:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankur\_Mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankur_mahajan/32/45618_2.png) [@Ankur\_Mahajan](https://discuss.elastic.co/u/Ankur_Mahajan)\
**Post date:** [October 4, 2020, 3:51pm UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/1 "2020-10-04T15:51:57Z")

</div>

I've recently upgraded to ELK stack (Kibana) 7.9.2 from 7.8.0. I am facing a weird issue which was not in the older version. **The filter doesn't populate all the values of a field in discover or dashboards.**

Let say a field (datatype keyword) has **value1, value2, value3, value4, value5 and value6** when I select this field as a filter in discover or any dashboard. I only get four suggested values out of 6. I checked the values in index and it's all there but the Kibana suggestion API returning fewer values.

`/api/kibana/suggestions/values/filebeat-*`

**NOTE: This is only happening in the case of filebeat. I've checked this in metricbeat and heartbeat indexes and it's working there.**

Please suggest if there is a workaround or configuration to make it right. Any help would be highly appreciated.

---

<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:** [October 4, 2020, 4:36pm UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/2 "2020-10-04T16:36:15Z")

</div>

Is it showing a little warning triangle next to the label of the filter? If that's the case you can try increasing `kibana.autocompleteTimeout` and `kibana.autocompleteTerminateAfter` in your `kibana.yml` file ([https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html))

To respond fast the suggestion API is not waiting for Elasticsearch to query your complete data set - depending on the exact scenario this can cause entries to be missing.

---

<div class="post-metadata">

**Author:** ![Ankur\_Mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankur_mahajan/32/45618_2.png) [@Ankur\_Mahajan](https://discuss.elastic.co/u/Ankur_Mahajan)\
**Post date:** [October 5, 2020, 1:38am UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/3 "2020-10-05T01:38:16Z")

</div>

Thanks for your reply @flash1293. It doesn’t show me any warning or error message. I checked the logs as well and couldn’t found anything that is breaking.

---

<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:** [October 5, 2020, 8:19am UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/4 "2020-10-05T08:19:00Z")

</div>

Are you talking about the filter bar or the input control visualization? For the filter bar no warning would be shown - try increasing the settings in that case.

---

<div class="post-metadata">

**Author:** ![Ankur\_Mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankur_mahajan/32/45618_2.png) [@Ankur\_Mahajan](https://discuss.elastic.co/u/Ankur_Mahajan)\
**Post date:** [October 5, 2020, 9:22am UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/5 "2020-10-05T09:22:41Z")

</div>

@flash1293 I am referring to the filter bar that appears on the top left corner of discover tab. Please find the attached screenshot for more clarity.

![filter_err](https://us1.discourse-cdn.com/elastic/original/3X/8/1/811c373ff12b996a87fa6e085e3cfb31daa6b227.png)

---

<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:** [October 5, 2020, 9:52am UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/6 "2020-10-05T09:52:43Z")

</div>

OK, you won't get a warning icon there. Let me know whether bumping up those settings helps.

---

<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:** [November 2, 2020, 9:52am UTC](https://discuss.elastic.co/t/kibana-suggestion-api-not-showing-all-values/250905/7 "2020-11-02T09:52:53Z")

</div>

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