# Ignore\_malformed & attachment processor / ingest pipeline

**URL:** <https://discuss.elastic.co/t/ignore-malformed-attachment-processor-ingest-pipeline/84930>\
**Category:** Elasticsearch\
**Created:** [May 8, 2017, 12:41pm UTC](https://discuss.elastic.co/t/ignore-malformed-attachment-processor-ingest-pipeline/84930 "2017-05-08T12:41:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas\_Mestry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_mestry/32/42301_2.png) [@Vikas\_Mestry](https://discuss.elastic.co/u/Vikas_Mestry)\
**Post date:** [May 8, 2017, 12:41pm UTC](https://discuss.elastic.co/t/ignore-malformed-attachment-processor-ingest-pipeline/84930/1 "2017-05-08T12:41:32Z")

</div>

Hello,

Is there any support for the ignore\_malformed mapping property for the attachment processor or the ingest pipeline api.

Sometimes we receive files which are corrupt & we would like to ignore the corrupt file & index the other fields, is this possible.

Thanks,  
Vikas.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 8, 2017, 6:18pm UTC](https://discuss.elastic.co/t/ignore-malformed-attachment-processor-ingest-pipeline/84930/2 "2017-05-08T18:18:09Z")

</div>

Ingest supports a on\_failure option on processors or on the pipeline. Just use it 🙂

---

<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:** [June 5, 2017, 6:20pm UTC](https://discuss.elastic.co/t/ignore-malformed-attachment-processor-ingest-pipeline/84930/3 "2017-06-05T18:20:46Z")

</div>

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