-
Notifications
You must be signed in to change notification settings - Fork 34
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
Deduplication of keys #14
Comments
So the more I think about this I think it's the responsibility of the Fluent Bit Nest filter plugin, rather than this output plugin. |
Hi @MarcusNoble , |
FYI: I've pushed fix 1d148860a8825d5f80aef40efd0d6d2812419740 in Fluent Bit to handle duplicated keys in a map. The workaround is basically: when converting the data to JSON, if a duplicated key is found, only pack the last value found for that key. This will be part of v1.6 release next week. |
Thank you @edsiper! |
I've encountered a problem where it's possible to have the object sent from Fluent Bit to contain duplicated keys.
Using the following filters results in this issues:
The resulting object sent for processing looks something like this (unrelated keys removed for brevity):
I'm not sure how the data from the C code is converted to Go but I've confirmed that these duplicate keys do get passed through.
The text was updated successfully, but these errors were encountered: