# Elasticsearch output, strict mapping failure

**URL:** <https://discuss.elastic.co/t/elasticsearch-output-strict-mapping-failure/87990>\
**Category:** Logstash\
**Created:** [June 1, 2017, 9:04pm UTC](https://discuss.elastic.co/t/elasticsearch-output-strict-mapping-failure/87990 "2017-06-01T21:04:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unclethan](https://avatars.discourse-cdn.com/v4/letter/u/3da27b/32.png) [@unclethan](https://discuss.elastic.co/u/unclethan)\
**Post date:** [June 1, 2017, 9:04pm UTC](https://discuss.elastic.co/t/elasticsearch-output-strict-mapping-failure/87990/1 "2017-06-01T21:04:16Z")

</div>

I have a logstash instance reading from a kafka topic, writing to an ES5.x cluster.  
When an ES insert fails due to "StrictDynamicMappingException", I would like to be alerted on the failure, optionally sending the payload to a different kafka topic for perusal.

Anyone know if/how that can be done?

Thanks.

---

<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 29, 2017, 9:04pm UTC](https://discuss.elastic.co/t/elasticsearch-output-strict-mapping-failure/87990/2 "2017-06-29T21:04:26Z")

</div>

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