Skip to content

Commit

Permalink
Add terminate processor (elastic#199674)
Browse files Browse the repository at this point in the history
Closes [elastic#195782](elastic#195782)
## Summary

This PR adds UI support for the Terminate Processor
[[docs](https://www.elastic.co/guide/en/elasticsearch/reference/master/terminate-processor.html)].
This processor only has the default fields.


https://github.com/user-attachments/assets/12b5e677-78e8-4f40-8427-e2482b47249a
  • Loading branch information
SoniaSanzV authored Nov 20, 2024
1 parent 7e65cde commit b320a37
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,21 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
},
}),
},
terminate: {
category: processorCategories.PIPELINE_HANDLING,
docLinkPath: '/terminate-processor.html',
label: i18n.translate('xpack.ingestPipelines.processors.label.terminate', {
defaultMessage: 'Terminate',
}),
typeDescription: i18n.translate('xpack.ingestPipelines.processors.description.terminate', {
defaultMessage:
'Terminates the current ingest pipeline, causing no further processors to be run.',
}),
getDefaultDescription: () =>
i18n.translate('xpack.ingestPipelines.processors.defaultDescription.terminate', {
defaultMessage: 'Terminates the current pipeline',
}),
},
trim: {
category: processorCategories.DATA_TRANSFORMATION,
FieldsComponent: Trim,
Expand Down

0 comments on commit b320a37

Please sign in to comment.