# How do you store logs persistently

**URL:** <https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 26, 2020, 11:08am UTC](https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023 "2020-02-26T11:08:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michielM](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michielm/32/46127_2.png) [@michielM](https://discuss.elastic.co/u/michielM)\
**Post date:** [February 26, 2020, 11:08am UTC](https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023/1 "2020-02-26T11:08:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 25, 2020, 11:08am UTC](https://discuss.elastic.co/t/how-do-you-store-logs-persistently/221023/2 "2020-03-25T11:08:18Z")

</div>

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