# How do I find which event is generating this error

**URL:** <https://discuss.elastic.co/t/how-do-i-find-which-event-is-generating-this-error/264166>\
**Category:** Logstash\
**Created:** [February 12, 2021, 6:07pm UTC](https://discuss.elastic.co/t/how-do-i-find-which-event-is-generating-this-error/264166 "2021-02-12T18:07:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [February 12, 2021, 6:07pm UTC](https://discuss.elastic.co/t/how-do-i-find-which-event-is-generating-this-error/264166/1 "2021-02-12T18:07:29Z")

</div>

I have thousands of event coming from metricbeat to logstash. then I do some parsing.  
but every on/off I getting following errors.

is there a easy way to find out which event is it?

`An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.io.IOException: Connection reset by peer`

---

<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:** [March 12, 2021, 6:08pm UTC](https://discuss.elastic.co/t/how-do-i-find-which-event-is-generating-this-error/264166/2 "2021-03-12T18:08:17Z")

</div>

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