Setting these via the config file is not possible. These settings actually get stored in Elasticsearch itself, in a special index (default is
.kibana). So what you could do, while you are testing, is something like this:
- Set all the advanced settings as you want via the Kibana UI
- Grab the JSON document from Elasticsearch where these settings are stored. For this make an HTTP
GET request to
http://localhost:9200/.kibana/config/_search (assuming you have Elasticsearch running on localhost:9200; replace if necessary). This should return a document (under
hits) corresponding to your version of Kibana, something that looks like this:
- Grab the
_source part of the document and save it somewhere.
- Next time you install Kibana fresh, start up the Kibana server (so this special index in Elasticsearch is initialized properly). Then index your saved document back into Elasticsearch by sending an HTTP
PUT request to
http://localhost:9200/.kibana/config/<your kibana version, e.g. 5.1.1> with the body as the saved document. Note that if you are installing a different version of Kibana from the one you saved the settings from, this may not work.
Hope this helps!