# Count Event and delay from logstash to elasticsearch

**URL:** <https://discuss.elastic.co/t/count-event-and-delay-from-logstash-to-elasticsearch/116847>\
**Category:** Logstash\
**Created:** [January 24, 2018, 10:34am UTC](https://discuss.elastic.co/t/count-event-and-delay-from-logstash-to-elasticsearch/116847 "2018-01-24T10:34:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [January 24, 2018, 10:34am UTC](https://discuss.elastic.co/t/count-event-and-delay-from-logstash-to-elasticsearch/116847/1 "2018-01-24T10:34:37Z")

</div>

I have a large delay with events stored in elasticsearch and events received. I would like to tune logstash but before to start I have to know the difference between events received into a file and events loaded in elasticsearch to measure it.  
How I can measure the total events received and the total events uploaded? I have logstash 2.3 and elasticsearch 4.4

---

<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:** [February 21, 2018, 10:35am UTC](https://discuss.elastic.co/t/count-event-and-delay-from-logstash-to-elasticsearch/116847/2 "2018-02-21T10:35:25Z")

</div>

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