-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Conditional pipeline processors #21248
Copy link
Copy link
Closed
Labels
:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>featurehelp wantedadoptmeadoptme
Description
I wish there was a way to do some very basic conditional pipeline actions without going straight to scripts. For example, run this pipeline only if this field exists. I don't want to have to specify a failure action when a field doesn't exist....
var response = await Configuration.Client.PutPipelineAsync(Pipeline, d => d
.Processors(p => p
.Lowercase<Employee>(l => l.Field(f => f.Name))
.Trim<Employee>(t => t.Field(f => f.Name))
).OnFailure(of => of.Set<Employee>(s => s.Field(f => f.Name).Value(String.Empty))));Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Ingest NodeExecution or management of Ingest PipelinesExecution or management of Ingest Pipelines>featurehelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.