Add terminate processor (#199674)

Closes [#195782](https://github.com/elastic/kibana/issues/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
This commit is contained in:
Sonia Sanz Vivas 2024-11-20 10:52:43 +01:00 committed by GitHub
parent 7e65cdef6d
commit b320a37d8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,