# One file come five times in output

**URL:** https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938
**Category:** Beats
**Tags:** filebeat
**Created:** [May 25, 2016, 1:01pm UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938 "2016-05-25T13:01:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 25, 2016, 1:01pm UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938/1 "2016-05-25T13:01:49Z")

</div>

HI,  
I have 10 log files in folder.

And i get output:  
2016/05/25 12:53:11.061273 output.go:87: DBG output worker: publish 38 events  
2016/05/25 12:53:11.267406 publish.go:104: INFO Events sent: 38  
2016/05/25 12:53:11.268415 registrar.go:157: INFO Registry file updated. 10 states written.

38 events are send to log stash.

and logstash output to elastic search:  
"hits": {  
"total": 42,  
"max\_score": 1  
}

But it has to be send 10 log file because i am having only 10 log file in a folder.why its send 38 to ls and 42 to es.

---

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 26, 2016, 6:56am UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938/2 "2016-05-26T06:56:30Z")

</div>

Anybody there?

---

<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: [May 26, 2016, 7:22am UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938/3 "2016-05-26T07:22:20Z")

</div>

It seems like you only post an excerpt of the output. It could be that before or after the additional 4 events are sent. Here you can find more details what you should report when opening an issue: [Beats: How to report an issue](https://discuss.elastic.co/t/beats-how-to-report-an-issue/38301)

Please be patient when posting question, reposting will only flood inboxes more. If you need commercial support, check out the subscriptions: [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

---

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 26, 2016, 7:23am UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938/4 "2016-05-26T07:23:20Z")

</div>

Thanks a lot lot @ruflin

---

<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: [July 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/one-file-come-five-times-in-output/50938/5 "2017-07-05T21:51:30Z")

</div>


