# Filebeat log rotation

**URL:** <https://discuss.elastic.co/t/filebeat-log-rotation/144573>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 15, 2018, 6:55pm UTC](https://discuss.elastic.co/t/filebeat-log-rotation/144573 "2018-08-15T18:55:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandra0651](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chandra0651/32/30484_2.png) [@chandra0651](https://discuss.elastic.co/u/chandra0651)\
**Post date:** [August 15, 2018, 6:55pm UTC](https://discuss.elastic.co/t/filebeat-log-rotation/144573/1 "2018-08-15T18:55:59Z")

</div>

I know there is a way in file beat where we can mention the size at which the log can be rotated and number of files it should keep as retention , but is there a way where we can rotate the logs based on each day ?

---

<div class="post-metadata">

**Author:** ![Jymit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jymit/32/45777_2.png) [@Jymit](https://discuss.elastic.co/u/Jymit)\
**Post date:** [August 16, 2018, 1:54am UTC](https://discuss.elastic.co/t/filebeat-log-rotation/144573/2 "2018-08-16T01:54:18Z")

</div>

This is not possible, I do not see it in GitHub. You should raise this here: [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues)

---

<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:** [September 13, 2018, 1:54am UTC](https://discuss.elastic.co/t/filebeat-log-rotation/144573/3 "2018-09-13T01:54:25Z")

</div>

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