-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Ingest Node: Drop processor is ignored with on_failure #36151
Copy link
Copy link
Closed
Labels
:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>bug
Description
Elasticsearch version (bin/elasticsearch --version): 6.5.1
Description of the problem including expected versus actual behavior: If a drop processor is used within on_failure of another processor, it seems to be ignored.
Steps to reproduce:
PUT _ingest/pipeline/pipeline1
{
"processors": [
{
"fail": {
"message": "failed",
"on_failure": [
{
"drop": {}
}
]
}
}
]
}
PUT foo/bar/1?pipeline=pipeline1
{
"foo": "bar"
}
# this document exists, but should not
GET foo/bar/1
This example looks somewhat artifical, but it might make more sense with another if in the drop and maybe a grok processor instead of fail - I just picked those to shorten the example.
original issue in the discuss forum
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>bug
Type
Fields
Give feedbackNo fields configured for issues without a type.