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 format expressions for routing in the opensearch sink #3833

Closed
graytaylor0 opened this issue Dec 7, 2023 · 0 comments · Fixed by #3863
Closed

Support format expressions for routing in the opensearch sink #3833

graytaylor0 opened this issue Dec 7, 2023 · 0 comments · Fixed by #3863
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@graytaylor0
Copy link
Member

graytaylor0 commented Dec 7, 2023

Is your feature request related to a problem? Please describe.
As a user of the opensearch sink and the routing_field, I would like to dynamically format my _routing id using one or more metadata keys or keys in the Event

Describe the solution you'd like
A new routing_id parameter that supports format expressions. This would follow a similar path of the movement from document_id_field to document_id,

Describe alternatives you've considered (Optional)
Configuring extra add_entries processors to create format expressions in the actual Event, and then using exclude_keys in the sink to remove the custom routing field.

Additional context
Add any other context or screenshots about the feature request here.

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.

3 participants