How do you store logs persistently

Hi,

I'm new to the whole ELK stack. Currently I'm setting up a test environment for gathering logs from auditbeat and filebeat. Now during the setup I encountered the problem when I stopped my containers, that I lose the whole Kibana configuration, and the configured dashboards inside of it. Furthermore al the previously gathered logs disappear aswel. Currently I'm having a docker-compose file with a Kibana node, 1 Elasticsearch node and a logstash node.

Is there a way to store the dashboards in a volume?
And is there a way to see the logs that were gathered before the shutdown of a container?

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