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.
copytruncate
to each file is not good idea. I know it works. But do you have other way to avoid that pls ? – 3-commerce Jan 07 '19 at 09:57