I want to roll the os-filebeat-out.log, my Logging section in filebeat.yml looks like:
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:
-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?