# Catching exceptions from output plugins

**URL:** <https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743>\
**Category:** Logstash\
**Created:** [October 31, 2018, 3:26am UTC](https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743 "2018-10-31T03:26:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Layne\_nz](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@Layne\_nz](https://discuss.elastic.co/u/Layne_nz)\
**Post date:** [October 31, 2018, 3:26am UTC](https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743/1 "2018-10-31T03:26:39Z")

</div>

Hi All,

Like in [this thread](https://discuss.elastic.co/t/logstash-exceptionhandling-catching-exceptions-from-output-plugin/28664) I'm trying to catch exceptions from output plugins so we can handle the failed input.

It's been a few years, is there a better way than forking the output plugin?

Thanks,  
Layne

---

<div class="post-metadata">

**Author:** ![Mike.Barretta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike.barretta/32/16688_2.png) [@Mike.Barretta](https://discuss.elastic.co/u/Mike.Barretta)\
**Post date:** [November 1, 2018, 2:58pm UTC](https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743/2 "2018-11-01T14:58:03Z")

</div>

@Layne_nz  
Have you investigated the [dead letter queue](https://www.elastic.co/guide/en/logstash/current/dead-letter-queues.html)?

---

<div class="post-metadata">

**Author:** ![Layne\_nz](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@Layne\_nz](https://discuss.elastic.co/u/Layne_nz)\
**Post date:** [November 1, 2018, 7:52pm UTC](https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743/3 "2018-11-01T19:52:27Z")

</div>

That looks exactly like what I need!

Thanks,  
Layne

---

<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 29, 2018, 7:52pm UTC](https://discuss.elastic.co/t/catching-exceptions-from-output-plugins/154743/4 "2018-11-29T19:52:27Z")

</div>

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