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_http: Allow disabling http 2xx logs #9987

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nuclearpidgeon
Copy link
Contributor

@nuclearpidgeon nuclearpidgeon commented Feb 22, 2025

Adds an option to disable log messages for HTTP 2xx responses

As a point of comparison, Fluent Forward egress doesn't log every time it egresses something - but in a busy system using http outputs, fluentbit ends up logging a huge amount because of this 2xx log line during normal operation.
The default has been set such that the logging is still on by default, which should make this a backwards-compatible change.

Testing

Will try update the PR with these things soon:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

Documentation

  • Documentation required for this feature

I imagine this will need a docs update. Happy to raise one after getting an initial review on this PR to indicate it's a change you're happy to merge.

Backporting

  • Backport to latest stable release.
    Can probably afford for this not to be backported unless others really want it

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

…ccesses

In a busy system with lots of different tags/chunks being handled, this can get really noisy in usual operation

Signed-off-by: Stewart Webb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant