I have been investigating how to export setup data - elastic (indices, mappings) and kibana (visualisations, dashboards, searches, index patterns) then import it on a fresh installation. I have found several useful articles around the subject but they focus on detailed problems. I'm having difficulty understanding the steps necessary to allow us to put together a development workflow with all the data it needs loaded in the correct order.
The configuration of the filebeat and logstash is via files so can be easily configuration managed and scripted.
I'm looking to manage the data entered by our developers via kibana (mappings, index patterns, visualisations, searches, dashboards etc) so that is can be placed under configuration control (e.g. GIT), reviewed by others, then used as part of a scripted install of the elastic tools on a fresh machine.
Thanks for your response. I was putting together a list of configuration data that I did not write into a configuration file but entered via the Kibana user interface. The list has been getting longer. Can you confirm where each of the data items below is stored:
Field mappings
Index patterns
Saved searches
Scripted Fields
Visualisations
Dashboards
Kibana Advanced Settings (e.g. date format, default theme etc)
The kibana advanced setting do not appear to a saved as part of a .kibana snapshot and cannot be configured by kibana.yml. Do these always need to be added via the kibana user interface?
The field mappings are not saved as part of a .kibana snapshot. Is there are a way to add to a snapshot, or do you need to GET the mappings from the system being snapshot'ed and PUT back into the system being restored?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.