# Change kibana.autocompleteTerminateAfter

**URL:** <https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311>\
**Category:** Kibana\
**Created:** [September 28, 2021, 6:53am UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311 "2021-09-28T06:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voula\_Mikr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voula_mikr/32/58451_2.png) [@Voula\_Mikr](https://discuss.elastic.co/u/Voula_Mikr)\
**Post date:** [September 28, 2021, 6:53am UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311/1 "2021-09-28T06:53:06Z")

</div>

Hi

In a deployment with Elasticsearch and kibana, I get the below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/1/81f162a21c64eec1506b49d3b557e0fca58eb77e.png)

I saw from [Terms list might be incomplete because the request is taking to long - #15 by Fedi\_Ben\_Messaoud](https://discuss.elastic.co/t/terms-list-might-be-incomplete-because-the-request-is-taking-to-long/230768/15) that **kibana.autocompleteTerminateAfter** parameter should be set to the number of documents that a shard has.  
How can I change this parameter to a running kibana pod?  
Should I make a restart after that?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)\
**Post date:** [September 28, 2021, 1:54pm UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311/2 "2021-09-28T13:54:15Z")

</div>

Hi @Voula_Mikr, you should change the value of `data.autocomplete.valueSuggestions.timeout` in your `kibana.yml`. See our [Configuring Kibana](https://www.elastic.co/guide/en/kibana/current/settings.html) docs for more info.

---

<div class="post-metadata">

**Author:** ![Voula\_Mikr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/voula_mikr/32/58451_2.png) [@Voula\_Mikr](https://discuss.elastic.co/u/Voula_Mikr)\
**Post date:** [September 29, 2021, 6:01am UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311/3 "2021-09-29T06:01:34Z")

</div>

Hi @devon.thomson

Thanks for the prompt answer!  
Is there any way to change it after kibana is up?  
In the link says " reads properties from the `kibana.yml` file on startup" .  
Also is there a way to change it through rest api? The security configuration of the pod doesn't let me to change this file.  
Thanks again!

---

<div class="post-metadata">

**Author:** ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)\
**Post date:** [September 29, 2021, 3:07pm UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311/4 "2021-09-29T15:07:08Z")

</div>

Hi @Voula_Mikr, I don't believe there is any way to change it via a Rest API. From googling around, it looks like these things need to be modified through a [Kubernetes ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/).

---

<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 27, 2021, 3:07pm UTC](https://discuss.elastic.co/t/change-kibana-autocompleteterminateafter/285311/5 "2021-10-27T15:07:38Z")

</div>

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