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

out_stackdriver: error formatting JSON payload #8284

Closed
ryanohnemus opened this issue Dec 14, 2023 · 3 comments
Closed

out_stackdriver: error formatting JSON payload #8284

ryanohnemus opened this issue Dec 14, 2023 · 3 comments
Labels

Comments

@ryanohnemus
Copy link
Contributor

Bug Report

Describe the bug
Building fluentbit from a recent master commit and using the out_stackdriver plugin produces:
[error] [output:stackdriver:stackdriver.0] error formatting JSON payload (followed by engine failed to flush chunk errors). No data is being exported to google cloud.

To Reproduce

  • Steps to reproduce the problem:

Build fluent-bit from a recent git commit on master branch such as: 1cb694e

then run fluent-bit with the out_stackdriver plugin set up.

I was able to narrow it down to this commit: 1a8dd39

and doing a git revert of that commit and rebuilding resolves the issue.

Expected behavior
json payload created properly and records exported to google cloud

@patrick-stephens
Copy link
Contributor

@braydonk can you have a look as I think this was functionality added to resolve a separate issue?

@braydonk
Copy link
Contributor

#8229 should resolve this. There was an edge case I didn't cover while I was trying to fix the original bug.

@ryanohnemus
Copy link
Contributor Author

Closing this after confirming #8229 resolved the issue. Thanks again @braydonk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants