I have a docker container with elk deployed, with mount binding for /var/lib/elasticsearch , and when I recreate the containe, elasticsearch data are not lost ( I have correcly my logs), but everything related to Kibana is lost !! Before recreate the container I start from my host the command metricbeat setup --dashboards , and everytime I recreate the containe , I must recreate Index pattern and restart the setup of metricbeat.
Is this the normal way ? I have read that with the mount binding for ES data, kibana config is not lost, so I'm a little bit confused
Have you configured persistent storage for where Elasticsearch stores data? This is set through the path.data parameter and the default value depends on how you installed Elasticsearch.
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.