elastic-pipeline

Elastic Pipelines: Skip Import On Failure

不问归期 提交于 2021-02-10 14:46:05
问题 Individual processors in an Elastic pipelines have an on_failure attribute. This allows you to handle a failure/error in a pipeline. The example in the docs show setting an additional field on your document. { "description" : "my first pipeline with handled exceptions", "processors" : [ { "rename" : { "field" : "foo", "to" : "bar", "on_failure" : [ { "set" : { "field" : "error.message", "value" : "{{ _ingest.on_failure_message }}" } } ] } } ] } Is it possible to tell the pipeline to SKIP

Elastic Pipelines: Skip Import On Failure

两盒软妹~` 提交于 2021-02-10 14:40:38
问题 Individual processors in an Elastic pipelines have an on_failure attribute. This allows you to handle a failure/error in a pipeline. The example in the docs show setting an additional field on your document. { "description" : "my first pipeline with handled exceptions", "processors" : [ { "rename" : { "field" : "foo", "to" : "bar", "on_failure" : [ { "set" : { "field" : "error.message", "value" : "{{ _ingest.on_failure_message }}" } } ] } } ] } Is it possible to tell the pipeline to SKIP