Running Kibana in Docker - default index patterns

Is there a way to provide a fresh kibana instance running in a docker container some default index patterns to load when first starting kibana + es? Currently I have to manually set patterns in the dashboard, it would be preferable to do this as code (for version control) and have it happen automatically.

You could export the correct saved object (document) from the .kibana index and populate it in your elasticsearch cluster. Be aware that the document format can change between versions.

OK, thanks for the feedback. I the best option is to use some archival for the kibana indices and set up a restoration for those indices on the container start. Thanks again.

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