# Filebeat support rotating or renaming log files of another service?

**URL:** <https://discuss.elastic.co/t/filebeat-support-rotating-or-renaming-log-files-of-another-service/256543>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 24, 2020, 4:52pm UTC](https://discuss.elastic.co/t/filebeat-support-rotating-or-renaming-log-files-of-another-service/256543 "2020-11-24T16:52:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FREDDIE2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/freddie2020/32/66882_2.png) [@FREDDIE2020](https://discuss.elastic.co/u/FREDDIE2020)\
**Post date:** [November 24, 2020, 4:52pm UTC](https://discuss.elastic.co/t/filebeat-support-rotating-or-renaming-log-files-of-another-service/256543/1 "2020-11-24T16:52:50Z")

</div>

Hello,

Does Filebeat support rotating / renaming log files of an other service? Meaning can Filebeat be used as a replacement for logrotate or other similar tools?

Thanks,

FREDDIE

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [November 25, 2020, 1:59am UTC](https://discuss.elastic.co/t/filebeat-support-rotating-or-renaming-log-files-of-another-service/256543/2 "2020-11-25T01:59:54Z")

</div>

Just to make sure there's no confusion, my understanding is what you're looking for is Filebeat rotating the log files it's ingesting. This not supported by Filebeat. There is an open discussion about it on GitHub if you have an account there and want to follow along and/or participate: [https://github.com/elastic/beats/issues/7633](https://github.com/elastic/beats/issues/7633).

Shaunak

---

<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:** [December 23, 2020, 3:59am UTC](https://discuss.elastic.co/t/filebeat-support-rotating-or-renaming-log-files-of-another-service/256543/3 "2020-12-23T03:59:57Z")

</div>

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