Filebeat config to read current log only

Hi Team,
I have file beat cofigured on one of my machine and it is configured to send the feed to logstash.

The thing is, I want my files to be read depending on todays date. My log files are getting generated in the format - Mylog_0411.Log.
Mylog_=>Log file name

So, How can I restrict file beat to read/tail the current file(todays file) log only.


Have you tried configuring ignore_older so older files are skipped?

1 Like

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