# Log rotation policy

**URL:** <https://discuss.elastic.co/t/log-rotation-policy/256683>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [November 25, 2020, 3:51pm UTC](https://discuss.elastic.co/t/log-rotation-policy/256683 "2020-11-25T15:51:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [November 30, 2020, 2:00pm UTC](https://discuss.elastic.co/t/log-rotation-policy/256683/3 "2020-11-30T14:00:16Z")

</div>

Hi,

It seems to be a duplicated question, see [ES operator log rotation](https://discuss.elastic.co/t/es-operator-log-rotation/256494/4)

By default logs are not stored in a persistent volume, they are written to `stdout` and `stderr`. You can use [Filebeat](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-beat-quickstart.html) to store them in an Elasticsearch cluster.

---

_[View the full topic](https://discuss.elastic.co/t/log-rotation-policy/256683)._
