# How to manage filebeat logging?

**URL:** <https://discuss.elastic.co/t/how-to-manage-filebeat-logging/290264>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 26, 2021, 9:54am UTC](https://discuss.elastic.co/t/how-to-manage-filebeat-logging/290264 "2021-11-26T09:54:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priya2](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@Priya2](https://discuss.elastic.co/u/Priya2)\
**Post date:** [November 26, 2021, 9:54am UTC](https://discuss.elastic.co/t/how-to-manage-filebeat-logging/290264/1 "2021-11-26T09:54:31Z")

</div>

I want to roll the os-filebeat-out.log, my Logging section in filebeat.yml looks like:

```auto
logging.level: info
logging.to_files: true
logging.files:
     path: /path/filebeat-7.14.1-linux-x86_64
     name: os-filebeat-out.log
     rotateeverybytes: 10485760
     permissions: 0600
     keepfiles: 7
     rotateonstartup: true
     suffix: count
     interval: 1s

```

I am starting filebeat as

./filebeat -e \>\> os-filebeat-out.log 2\>&1 &

but the file is not changing the permission nor rotating the file:

```auto
-rw-r--r-- 1 user1 grp 93799652 Nov 25 13:36 os-filebeat-out.log

```

How can I manage my os-filebeat-out.log file?

---

<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 24, 2021, 11:55am UTC](https://discuss.elastic.co/t/how-to-manage-filebeat-logging/290264/2 "2021-12-24T11:55:09Z")

</div>

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