-
Notifications
You must be signed in to change notification settings - Fork 313
Support multiple delete_when condition in delete_entries processor #5315
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
Allow multiple keys to be deleted under different conditions when using delete_entries processor
Describe the solution you'd like
Modify delete_entries processor to support this new configuration that allows multiple with_keys and delete_when configurations like shown below. The existing configuration is still supported. This is new config under entries needs to be added.
processor:
- delete_entries:
entries :
- with_keys: ["key1", "key2"]
delete_when : "condition1"
- with_keys : ["key3", "key4"]
delete_when : "condition2"
- with_keys : ["key5", "key6", "key7"]
delete_when : "condition3"
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done