# Supress errors from logstash input plugin

**URL:** <https://discuss.elastic.co/t/supress-errors-from-logstash-input-plugin/253414>\
**Category:** Logstash\
**Created:** [October 27, 2020, 9:36am UTC](https://discuss.elastic.co/t/supress-errors-from-logstash-input-plugin/253414 "2020-10-27T09:36:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 27, 2020, 2:15pm UTC](https://discuss.elastic.co/t/supress-errors-from-logstash-input-plugin/253414/2 "2020-10-27T14:15:30Z")

</div>

I do not think you can suppress the [error](https://github.com/logstash-plugins/logstash-codec-cef/blob/2a8edcd5095e811cebfb5d48134eeb32de267067/lib/logstash/codecs/cef.rb#L335), but if you can determine which messages are in cef format you can [route them to a different pipeline](https://discuss.elastic.co/t/logstash-configuration-input-error-with-if-statement/246019/8) and use the codec on that.

---

_[View the full topic](https://discuss.elastic.co/t/supress-errors-from-logstash-input-plugin/253414)._
