This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Terminate processor
editTerminate processor
editTerminates the current ingest pipeline, causing no further processors to be run.
This will normally be executed conditionally, using the if
option.
If this pipeline is being called from another pipeline, the calling pipeline is not terminated.
Table 45. Terminate Options
Name | Required | Default | Description |
---|---|---|---|
|
no |
- |
Description of the processor. Useful for describing the purpose of the processor or its configuration. |
|
no |
- |
Conditionally execute the processor. See Conditionally run a processor. |
|
no |
|
Ignore failures for the processor. See Handling pipeline failures. |
|
no |
- |
Handle failures for the processor. See Handling pipeline failures. |
|
no |
- |
Identifier for the processor. Useful for debugging and metrics. |
{ "description" : "terminates the current pipeline if the error field is present", "terminate": { "if": "ctx.error != null" } }