What is the best practice to avoid this case Example,
filebeat 5098 5128 root 3r REG 253,1 31035908096 657022 /var/log/aaa/aaa.access.log.1 (deleted)
There is a logrotate to mv aaa.access.log file while processed by filebeat. nano and tail can be stucking a file but i am focusing on filebeat app.
What is the best practice to solve this permanently ?
Especially, filebeat app.