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
Thank you !