# Is it possible to get error messages from ingest node processors?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-get-error-messages-from-ingest-node-processors/68277>\
**Category:** Elasticsearch\
**Created:** [December 7, 2016, 10:09am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-error-messages-from-ingest-node-processors/68277 "2016-12-07T10:09:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenyao](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@wenyao](https://discuss.elastic.co/u/wenyao)\
**Post date:** [December 7, 2016, 10:09am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-error-messages-from-ingest-node-processors/68277/1 "2016-12-07T10:09:20Z")

</div>

Currently i have an ingest node configured to put documents in a separate index in the event of a failure as such:

```
"on_failure" : [
    	{
      		"set" : {
        		"field" : "_index",
        		"value" : "failed-{{ _index }}"
      		}
    	}
    ]

```

However, the issue is that it is difficult for me to find what is causing the failure when a document is placed in the "failure index".

Is there a way to enable logging to see what went wrong? Are there better ways of identifying the issues/problems?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 7, 2016, 12:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-get-error-messages-from-ingest-node-processors/68277/2 "2016-12-07T12:57:18Z")

</div>

Hey,

you can try the [simulate pipeline API](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/simulate-pipeline-api.html)

--Alex

---

<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:** [January 4, 2017, 12:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-get-error-messages-from-ingest-node-processors/68277/3 "2017-01-04T12:57:43Z")

</div>

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