-
Notifications
You must be signed in to change notification settings - Fork 202
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
Allow KeyValue processor to write parsed entries to event root #3378
Comments
@oeyh , Can we support Also, we can make |
@dlvenable The null approach is consistent with what we have in other processors ( Supporting "/" makes a lot of sense, and is more intuitive. But I think we should support that in the event level (i.e. the JacksonEvent.put() method). We can make it support full json pointer syntax, including root "/", using something like |
The consistency is good. But, at the same time, I think we should try to find a better way going forward. I think using
Good point. We should not change this. |
Is your feature request related to a problem? Please describe.
KeyValue processor currently writes parsed entries to a user specified
destination
(default to"parsed_message"
) but doesn't support writing those entries directly to event root.Describe the solution you'd like
When
destination
is set to null, we write parsed entries to root. The config would look like this:or
Describe alternatives you've considered (Optional)
Unless user specifies a destination, writing to root as default behavior. But this is going to be a breaking change.
Additional context
parse_json
has similar configuration that whentarget
is null, the parsed results will be written to root.The text was updated successfully, but these errors were encountered: