# How to output records that come up as an error or not an error but not ingested properly into a separate file

**URL:** <https://discuss.elastic.co/t/how-to-output-records-that-come-up-as-an-error-or-not-an-error-but-not-ingested-properly-into-a-separate-file/226766>\
**Category:** Logstash\
**Created:** [April 6, 2020, 7:56pm UTC](https://discuss.elastic.co/t/how-to-output-records-that-come-up-as-an-error-or-not-an-error-but-not-ingested-properly-into-a-separate-file/226766 "2020-04-06T19:56:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edster](https://avatars.discourse-cdn.com/v4/letter/e/da6949/32.png) [@edster](https://discuss.elastic.co/u/edster)\
**Post date:** [April 6, 2020, 7:56pm UTC](https://discuss.elastic.co/t/how-to-output-records-that-come-up-as-an-error-or-not-an-error-but-not-ingested-properly-into-a-separate-file/226766/1 "2020-04-06T19:56:19Z")

</div>

How can I output records that come up either as errors or simply aren't ingested or read properly for whatever reason (ie syntax or something of the sort) into a separate file?

---

<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:** [May 4, 2020, 7:56pm UTC](https://discuss.elastic.co/t/how-to-output-records-that-come-up-as-an-error-or-not-an-error-but-not-ingested-properly-into-a-separate-file/226766/2 "2020-05-04T19:56:37Z")

</div>

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