I'm using Kibana 6.6.0, installed through the official Docker image. The elasticsearch.requestTimeout seems to be being ignored by visualisations. Here is my kibana.yml config:
server.name: kibana
server.host: "0"
elasticsearch.url: http://elasticsearch:9200
server.ssl.key: my_cert.key
server.ssl.certificate: my_cert.crt
server.ssl.enabled: true
elasticsearch.requestTimeout: 60000
No matter what I set this value to though, visualisations seem to timeout at 30000 ms.
If I set a small value like elasticsearch.requestTimeout: 12345
then I can see Timelion complaining about timeouts:
...so it's obviously picked up the config here.
However with this config all other standard visualisations (such as a simple metric visualisation) still seem to keep the default of 30000ms. When I inspect the POST requests going to the _msearch endpoint I see this at the end:
...."filter":[{"match_all":{}}],"should":[],"must_not":[]}},"timeout":"30000ms"}
which looks like this config setting is being ignored?
I'm confused! Any pointers on how to debug?