filebeat 处理日志切割问题
filebeat 4664 root 7rW REG 8,3 0 1338277 /root/filebeat-7/data/filebeat.lock
filebeat 4664 root 8u REG 8,3 5235166 1455582 /root/filebeat-7/data/registry/filebeat/log.json
filebeat 4664 root 9r REG 8,3 20971507 948698 /root/test/tst.log.2
filebeat 4664 root 10r REG 8,3 20971516 948699 /root/test/tst.log.1
filebeat 4664 root 11r REG 8,3 20779494 948700 /root/test/tst.log
[root@zz ~]#
filebeat 当从tst.log 切换到tst.log.1的时候,还会继续采集tst.log.1