Change kibana.autocompleteTerminateAfter

Hi

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

I saw from Terms list might be incomplete because the request is taking to long - #15 by Fedi_Ben_Messaoud 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!

Hi @Voula_Mikr, you should change the value of data.autocomplete.valueSuggestions.timeout in your kibana.yml. See our Configuring Kibana docs for more info.

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!

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.