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

**URL:** <https://discuss.elastic.co/t/how-to-know-if-file-beat-finished-processing-a-set-of-log-file/70207>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 29, 2016, 12:27pm UTC](https://discuss.elastic.co/t/how-to-know-if-file-beat-finished-processing-a-set-of-log-file/70207 "2016-12-29T12:27:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Pradhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_pradhan/32/14202_2.png) [@Rahul\_Pradhan](https://discuss.elastic.co/u/Rahul_Pradhan)\
**Post date:** [December 29, 2016, 12:27pm UTC](https://discuss.elastic.co/t/how-to-know-if-file-beat-finished-processing-a-set-of-log-file/70207/1 "2016-12-29T12:27:15Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [January 3, 2017, 9:08am UTC](https://discuss.elastic.co/t/how-to-know-if-file-beat-finished-processing-a-set-of-log-file/70207/2 "2017-01-03T09:08:02Z")

</div>

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](https://github.com/elastic/beats/issues/463) The above could be solved by reporting which files fall under ignore\_older ...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 31, 2017, 9:08am UTC](https://discuss.elastic.co/t/how-to-know-if-file-beat-finished-processing-a-set-of-log-file/70207/3 "2017-01-31T09:08:18Z")

</div>

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