# How can I verify all logs have been shipped?

**URL:** https://discuss.elastic.co/t/how-can-i-verify-all-logs-have-been-shipped/152725
**Category:** Beats
**Tags:** filebeat
**Created:** [October 16, 2018, 9:47pm UTC](https://discuss.elastic.co/t/how-can-i-verify-all-logs-have-been-shipped/152725 "2018-10-16T21:47:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AvivCohn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivcohn/32/16262_2.png) [@AvivCohn](https://discuss.elastic.co/u/AvivCohn)
#### Post date: [October 16, 2018, 9:47pm UTC](https://discuss.elastic.co/t/how-can-i-verify-all-logs-have-been-shipped/152725/1 "2018-10-16T21:47:28Z")

</div>

Hello,

I have configured FileBeat to ship a log file to Elasticsearch directly.  
After all harvesters have already automatically stopped with a close\_inactive message, I ran a count check in the filebeat indices in ES.

While the number of lines in the log file is 689398 according to wc -l, the number of documents in the index is only 6849.

Does this mean that not all logs have been shipped? What should I do?

Thank you

---

<div class="post-metadata">

### Author: ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)
#### Post date: [October 16, 2018, 10:15pm UTC](https://discuss.elastic.co/t/how-can-i-verify-all-logs-have-been-shipped/152725/2 "2018-10-16T22:15:16Z")

</div>

Hi @AvivCohn 🙂

Have you check the contents of the registry file? [https://www.elastic.co/guide/en/beats/filebeat/current/migration-registry-file.html](https://www.elastic.co/guide/en/beats/filebeat/current/migration-registry-file.html)

At the same time, it might be helpful if you give us some information like the configuration used, version of Filebeat and the size and format of the logs file.

(Moved to Filebeat category)

---

<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: [November 14, 2018, 12:15am UTC](https://discuss.elastic.co/t/how-can-i-verify-all-logs-have-been-shipped/152725/3 "2018-11-14T00:15:16Z")

</div>

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