-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Stackdriver Output] Debugging #4159
Comments
What is the log in the log file |
Thank you! 🤦🏻♀️ |
@JeffLuoo I actually have a sort-of related question, so I thought it might make sense to just re-open this.
Config:
Thank you for your help! |
What fluent-bit version are you using? If you are using some older version < 1.7.x, please upgrade to latest fluent-bit, this is a token header issue which has been fixed in later version. |
@sjoeboo Please upgrade then. This is the fix to the issue: 2e93cba#diff-77efe81876d673b9c75f6d54f354bdda1570ce21f8b8386ca32f4cf9b754ba6a |
Upgraded to 1.7.9-debug just now and still seeing:
Will try a more recent version next. We are finally outputting logs though 👍🏻 |
Those debug logs are harmless message. Please ignore them and check whether you see the logs on stackdriver. |
I iterated on the very simple config above after seeing some log output and added in all the inputs & outputs we actually need. Now the containers crash loop with exit code 139 with the following logs:
which is possibly related to
For more context, this config leads to an SD throttle filter and output for 2000+ namespaces. Could this also be an issue? |
I also tried removing
which seemed harmless. So those are gone now, but the containers are still restarting. |
@JeffLuoo Any ideas on if we can't use 2000+ outputs? |
Max is 256 to my understanding fluent-bit/include/fluent-bit/flb_routes_mask.h Lines 31 to 53 in 37aa680
|
Thank you! |
Is it possible to increase/configure the maximum number of output plugins? We've recently hit this ceiling also. |
Hi, @matt-simons, would you mind sharing your use case where you need more than 256 outputs? |
@lecaros I have this exact use-case where we offer a shared kubernetes cluster (namespace as a service) in a multi-tenant scenario where each tenant has an elastic endpoint. As tenants are not known in advance, we use the fluent-operator and deposit ClusterOutput documents that specify an As such, we would very glad if this limit was configurable, as we have not yet found a way to configure dynamically our outputs (the I am a bit stuck right now because our design (that seemed sound by reading fluent-bits tagline (thousands of inputs)) is now flawed. |
our use-case was exactly the same as @davidovich's |
Thanks for your feedback, @davidovich and @matt-simons. We could write down a feature request from this. If you want to do it, you're very welcome to do so, and I'll take it from there. Otherwise, I'll do it later. |
I started something in #5224 is that what you had in mind ? |
Yes, sorry I missed that one. |
Bug Report
Describe the bug
We are trying to troubleshoot sending logs via FluentBit's Stackdriver output. No logs are being output, there are no output errors but lots of retries and failed retries.
Log level is set to debug, but upon looking at the logs to figure out why the retries are happening there is nothing other than:
We changed the config to use the stdout output just to see if that worked as expected, and it did. There were lots of debug logs from FluentBit and logs were being output properly.
Is this a bug or is there another way we can figure out why these retries are happening?
To Reproduce
Expected behavior
FluentBit's debug logs should include why the Stackdriver output is retrying and not outputting any logs.
Screenshots
Your Environment
fluent/fluent-bit:1.7.4-debug@sha256:4bbad42f30f66f84c2464c7592963142c9d21aa51bc838b359bb3f7248741b80
Additional context
The text was updated successfully, but these errors were encountered: