How to know if file beat finished processing a set of log file?


(Rahul Pradhan) #1

How to know if file beat finished processing a set of log file? Is there a way to push this information to elastic search index?


(ruflin) #2

Currently this is not possible. The problem is how you define a log file is finished processing. Filebeat cannot know, if the file is completely written when it reaches the end of the file or if more log lines are still added.

One related thing you are looking for is probably https://github.com/elastic/beats/issues/463 The above could be solved by reporting which files fall under ignore_older ...


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.