Non-UI way of setting default index pattern

I am currently starting up Kibana with Docker and I was wondering if there was a way of specifying the default index pattern without manually doing it through the UI? I am aware there is an API which I can use to create an index pattern, meaning I could do a Curl command in Docker. But is there not a simpler config property or similar that can be set?

Hi @AshTappin,

thanks for reaching out. The default index pattern is a property of the "advanced settings" which is a saved object stored in Elasticsearch itself. Because of that there is no way to set it via a config file. Using a curl command sounds like the right approach.

Ok thanks @flash1293!

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