-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fluent-bit output plugin accidentally encodes all strings values inside arrays in base64 #1889
Comments
2 tasks
cyriltovena
pushed a commit
that referenced
this issue
Apr 6, 2020
…1890) Closes #1889 Signed-off-by: Mikhail Gusarov <[email protected]>
slim-bean
pushed a commit
that referenced
this issue
Apr 6, 2020
…1890) Closes #1889 Signed-off-by: Mikhail Gusarov <[email protected]> (cherry picked from commit 3786d74)
Photonios
added a commit
to SectorLabs/integrations-docs
that referenced
this issue
May 19, 2021
This issue is caused by the fact that the Fluent-Bit decoder sends strings as []byte. There was a partial fix for this in place already that recursed into maps and convertined []byte to string. The fix was incomplete as it didn't handle []interface{}. Hence, strings encoded as []byte inside slices weren't converted. This issue is almost exactly the same as the one in Loki: grafana/loki#1889 Hence, the fix is also almost the same.
Photonios
added a commit
to SectorLabs/integrations-docs
that referenced
this issue
May 19, 2021
This issue is caused by the fact that the Fluent-Bit decoder sends strings as []byte. There was a partial fix for this in place already that recursed into maps and converted []byte to string. The fix was incomplete as it didn't handle []interface{}. Hence, strings encoded as []byte inside slices weren't converted. This issue is almost exactly the same as the one in Loki: grafana/loki#1889 Hence, the fix is also almost the same.
EldarAliiev
pushed a commit
to coralogix/integrations-docs
that referenced
this issue
May 20, 2021
This issue is caused by the fact that the Fluent-Bit decoder sends strings as []byte. There was a partial fix for this in place already that recursed into maps and converted []byte to string. The fix was incomplete as it didn't handle []interface{}. Hence, strings encoded as []byte inside slices weren't converted. This issue is almost exactly the same as the one in Loki: grafana/loki#1889 Hence, the fix is also almost the same.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Any log object with strings inside arrays (directly or indirectly) gets inserted int Loki with these strings base64-encoded, e.g. (abbreviated):
To Reproduce
Steps to reproduce the behavior:
fluent-bit
frommaster
[]
Expected behavior
Strings inside arrays don't get base64-encoded.
The text was updated successfully, but these errors were encountered: