Hi,
I noticed that when Filebeat detected a log rotation, it will create a new entry in registry. I discovered that the new entry will have blank offset. An example of the rotated log entry from my registry file (I expanded the JSON):
/home/mule/apps/mule-enterprise-standalone-3.7.3/logs/mule-app-HREventPublisher-1.4.0-v201605130543.log'.'2016-05-14":{
"source":"/home/mule/apps/mule-enterprise-standalone-3.7.3/logs/mule-app-SAPFixedAssetsToCoupaConsumer-1.0.2.log.2016-05-16",
"FileStateOS":{
"inode":712795,
"device":64778
}
}
If Filebeat were to restart it will then reprocess the file from the beginning.
Is this a known design?
Thanks for the advice.