Filebeat auto-deletion of files when harvesting of files complete or remove log file older than 7 days

I am facing one critical issue with filebeat, There too much logs available in my log directory, How can I delete the logs older than 7 days

You need to use something other than FIlebeat for this.

Hi @Saurabh_Sharma1,

Do you want to delete the log files or you want to ignore harvesting those files which are older than 7 days?

If you want to ignore you can do it using "ignore_older" parameter

Thanks

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