Add ability to ignore a missing pipeline to the pipeline processor #87323
Labels
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
>enhancement
Team:Data Management
Meta label for data/management team
Description
I’m trying to create a pipeline processor that will avoid throwing errors if the pipeline it’s referencing doesn’t exist, but will still throw errors if the pipeline does exist but fails. It seems there are two potential approaches:
1. Add a
on_failure
block that can handle this caseMy initial idea was to use an
on_failure
block with a single fail processor that has a condition to not fail if the failure was due to non-existent pipeline error. However, it seems I can’t figure how to access the_ingest.on_failure_*
fields from within theif
condition, but they are accessible from within the message option. I tried accessing this viactx['_ingest']
as well without any luck. It seems we need code changes to expose this to theif
painless context. Here’s the pipeline I’m trying to create:2. Add a dedicated
ignore_missing
option to thepipeline
processorAs @felixbarny has discussed in elastic/package-spec#129 (comment), it's probably preferable to have a dedicated processor option for this in order to:
The text was updated successfully, but these errors were encountered: