# Ignore failures while performing \_reindex

**URL:** <https://discuss.elastic.co/t/ignore-failures-while-performing-reindex/159822>\
**Category:** Elasticsearch\
**Created:** [December 7, 2018, 12:03am UTC](https://discuss.elastic.co/t/ignore-failures-while-performing-reindex/159822 "2018-12-07T00:03:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gnumoksha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gnumoksha/32/37220_2.png) [@gnumoksha](https://discuss.elastic.co/u/gnumoksha)\
**Post date:** [December 7, 2018, 12:03am UTC](https://discuss.elastic.co/t/ignore-failures-while-performing-reindex/159822/1 "2018-12-07T00:03:57Z")

</div>

I just want to create a new index in order to apply this pipeline:

> PUT \_ingest/pipeline/foobar  
> {  
> "description": "Converts foobar data into json",  
> "processors": [  
> {  
> "gsub": {  
> "field": "message",  
> "pattern": """[foobar] """,  
> "replacement": "",  
> "ignore\_missing": true,  
> "ignore\_failure": true,  
> "on\_failure" : [  
> {  
> "set" : {  
> "field" : "error",  
> "value" : "{{ \_ingest.on\_failure\_message }}"  
> }  
> }  
> ]  
> }  
> },  
> {  
> "json" : {  
> "field" : "message",  
> "target\_field" : "foobar\_data",  
> "ignore\_failure": true,  
> "on\_failure" : [  
> {  
> "set" : {  
> "field" : "error",  
> "value" : "{{ \_ingest.on\_failure\_message }}"  
> }  
> }  
> ]  
> }  
> }  
> ]  
> }

Continuing the discussion from [Skip mapper\_parsing\_exception on remote reindex](https://discuss.elastic.co/t/skip-mapper-parsing-exception-on-remote-reindex/84595):

---

<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, 2019, 12:03am UTC](https://discuss.elastic.co/t/ignore-failures-while-performing-reindex/159822/2 "2019-01-04T00:03:58Z")

</div>

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