filebeat 7.10.2 当日志切割后,老的没采集完的,还会自动采集:

filebeat 7.10.2  当日志切割后,老的没采集完的,还会自动采集:

[root@zz test]# stat tst.log*
  File: `tst.log'
  Size: 37485219      Blocks: 73216      IO Block: 4096   regular file
Device: 803h/2051d    Inode: 948699      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-12-22 23:41:04.061999895 +0800
Modify: 2023-12-22 23:41:04.104999895 +0800
Change: 2023-12-22 23:41:04.104999895 +0800
  File: `tst.log.1'
  Size: 52428765      Blocks: 102400     IO Block: 4096   regular file
Device: 803h/2051d    Inode: 948698      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-12-22 23:39:58.061999898 +0800
Modify: 2023-12-22 23:39:58.033999898 +0800
Change: 2023-12-22 23:39:58.033999898 +0800


COMMAND   PID USER   FD   TYPE DEVICE   SIZE/OFF    NODE NAME
filebeat 3730 root    8u   REG    8,3    6118359 1455582 /root/filebeat-7/data/registry/filebeat/log.json
filebeat 3730 root    9r   REG    8,3   52428765  948698 /root/test/tst.log.3
filebeat 3730 root   10r   REG    8,3   52428745  948699 /root/test/tst.log.2
filebeat 3730 root   11r   REG    8,3   52428752  948700 /root/test/tst.log.1
filebeat 3730 root   12r   REG    8,3   42520322  948703 /root/test/tst.log

你可能感兴趣的:(Flink实时计算,linux,运维,服务器)