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

Add support for adding metadata entries as part of add_entries processor #2687

Closed
kkondaka opened this issue May 12, 2023 · 0 comments · Fixed by #2707
Closed

Add support for adding metadata entries as part of add_entries processor #2687

kkondaka opened this issue May 12, 2023 · 0 comments · Fixed by #2707
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kkondaka
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently add_entries processor adds new fields to an Event. We need the ability to add entries to event's metadata.

Describe the solution you'd like
Suggest the following change to add_entries processor

processor
   - add_entries:                                                                                                                                      
         entries:                                                                                                                                        
         - metadata_key: "message_len"                                                                                                                                    
            value: 10

or

processor
   - add_entries:                                                                                                                                      
         entries:                                                                                                                                        
         - metadata_key: "message_len"                                                                                                                                    
            value_expression: `length(/message)`

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 this to the v2.3 milestone May 12, 2023
@kkondaka kkondaka self-assigned this May 17, 2023
@dlvenable dlvenable added enhancement New feature or request and removed untriaged labels May 17, 2023
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
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants