# Completion of file

**URL:** <https://discuss.elastic.co/t/completion-of-file/142398>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 31, 2018, 3:12pm UTC](https://discuss.elastic.co/t/completion-of-file/142398 "2018-07-31T15:12:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Precision](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Precision](https://discuss.elastic.co/u/Precision)\
**Post date:** [July 31, 2018, 3:12pm UTC](https://discuss.elastic.co/t/completion-of-file/142398/1 "2018-07-31T15:12:45Z")

</div>

Is there a way to find out how much a file has already been processed by Filebeat? (e.g. completion percentage)

I have a script that does sincedb \<-\> inode mapping for Logstash and calculates a completion value, but I have no idea how to do this for Filebeat?

Any suggestions?

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [July 31, 2018, 4:49pm UTC](https://discuss.elastic.co/t/completion-of-file/142398/2 "2018-07-31T16:49:55Z")

</div>

Sorry, there is no official way to do this. Can you tell us more about your use case? I take it you're processing large files?

---

<div class="post-metadata">

**Author:** ![Precision](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Precision](https://discuss.elastic.co/u/Precision)\
**Post date:** [July 31, 2018, 5:56pm UTC](https://discuss.elastic.co/t/completion-of-file/142398/3 "2018-07-31T17:56:50Z")

</div>

Yes, couple of GB per file. Once I start up Filebeat it would be nice to see how much it already processed.

By the way: Is this really such a strange requirement? imho thousands of developers would be keen to have such kind of information, no?

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [July 31, 2018, 7:04pm UTC](https://discuss.elastic.co/t/completion-of-file/142398/4 "2018-07-31T19:04:38Z")

</div>

Well, typically Filebeat is used to handle files that are constantly being appended to. It sounds like you have fixed size files that occasionally are dropped into a spot for Filebeat. Is that correct? Can you say more about your use case?

This sounds like a potential feature for x-pack monitoring, where you could drill down to a filebeat instance and see which files it is currently working on.

Would be able to open a feature request on [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues) to start a discussion about what you'd like in terms of this feature?

---

<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:** [August 28, 2018, 7:08pm UTC](https://discuss.elastic.co/t/completion-of-file/142398/5 "2018-08-28T19:08:49Z")

</div>

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