Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple delete_when condition in delete_entries processor #5315

Open
kkondaka opened this issue Jan 8, 2025 · 1 comment · May be fixed by #5356
Open

Support multiple delete_when condition in delete_entries processor #5315

kkondaka opened this issue Jan 8, 2025 · 1 comment · May be fixed by #5356
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kkondaka
Copy link
Collaborator

kkondaka commented Jan 8, 2025

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.

@kkondaka kkondaka added enhancement New feature or request and removed untriaged labels Jan 14, 2025
@kkondaka kkondaka added this to the v2.11 milestone Jan 14, 2025
@niketan16
Copy link

I want to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants