# Filebeat published event but ElasticSearch doesn't show all those

**URL:** https://discuss.elastic.co/t/filebeat-published-event-but-elasticsearch-doesnt-show-all-those/83097
**Category:** Logstash
**Created:** [April 20, 2017, 5:35pm UTC](https://discuss.elastic.co/t/filebeat-published-event-but-elasticsearch-doesnt-show-all-those/83097 "2017-04-20T17:35:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anshul\_pandey](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anshul\_pandey](https://discuss.elastic.co/u/anshul_pandey)
#### Post date: [April 20, 2017, 5:35pm UTC](https://discuss.elastic.co/t/filebeat-published-event-but-elasticsearch-doesnt-show-all-those/83097/1 "2017-04-20T17:35:17Z")

</div>

Hi,  
I have multi line file beat (5.2) that sends entire xml as 1 event, this works as i can see the number of events published from filebeat are same as the number of files in the file beat path.

I am pushing these events to logstash using xml plugin at the logstash, which consumes file beat events, and stores them in elastic db after some data crunching

At this point i have following questions

Doc count in the index doesn't match event count from file beat - Where are my events being dropped ? and what can i do to prevent that ? The number of documents in index for same number of files being sent from file beat is kind a random, but its almost always not same as total events being sent.

Any pointers

---

<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: [May 18, 2017, 5:37pm UTC](https://discuss.elastic.co/t/filebeat-published-event-but-elasticsearch-doesnt-show-all-those/83097/2 "2017-05-18T17:37:35Z")

</div>

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