We are using filebeat to get log. I recently faced an issue which is annoying me.
I have the filebeat configuration as log*.log because every time when log size reaches 10mb my application creates new log and renames the old log to log1.log.
But now, due to filebeat, my application is unable to create new log as it is being opened by filebeat and log size goes upto GBs.
How should I get rid of the problem?
Basically, filebeat is not allowing Apache log rotation to happen.