You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fluentbit.io Log Drain Support for Sentry Logging #98440
Hi - this would be crucial for easily integrating Sentry into our logging stack. We use awsfirelens to send all container logs to a fluentbit sidecar container, and fluentbit then parses those logs, adds context as required, and routes them to several different locations.
This has several key advantages for us:
Performance - log shipping can on occasion be costly, and this prevents those fluctuations from impacting application performance
Ensures all container logs make it to our log destinations, even if from direct console output rather than through the logger. This is important when dependencies/library code may, for example, directly log deprecation warnings.
Easy log shipping to multiple destinations - for example, to Sentry for day-to-day ops, to S3 for long-term auditable storage.
X-platform logging configuration - the same sidecar container can run next to services running Node/Python/anything else; we don't need to configure log shipping separately for different languages/platforms.
Note that we wouldn't necessarily need a Sentry-specific fluentbit output plugin (although this would be wonderful 😄 ) - rather, an ability for Sentry to accept logs via e.g. the http output plugin would suffice.
I'll try writing up a guide for fluentbit in the coming days, but if anyone wants to give it a try before hand please go for it and share your results in this issue. Thanks!
Activity
linear commentedon Aug 28, 2025
ENG-5395 Fluentbit.io support for Log Drains
alexyounghive commentedon Sep 10, 2025
Hi - this would be crucial for easily integrating Sentry into our logging stack. We use
awsfirelensto send all container logs to a fluentbit sidecar container, and fluentbit then parses those logs, adds context as required, and routes them to several different locations.This has several key advantages for us:
Note that we wouldn't necessarily need a Sentry-specific fluentbit output plugin (although this would be wonderful 😄 ) - rather, an ability for Sentry to accept logs via e.g. the
httpoutput plugin would suffice.Many thanks
[-]Fluentbit.io support for Log Drains[/-][+]Fluentbit.io Log Drain Support for Sentry Logging[/+]AbhiPrasad commentedon Sep 19, 2025
@alexyounghive as soon as we have our OTLP logs endpoint ready (#98649), you can use the
OpenTelemetryoutput to forward your logs to Sentry :)I already hooked up the endpoints (getsentry/relay#5111), just in the process of rolling it out in prod over the next couple days!
alexyounghive commentedon Sep 23, 2025
super stuff, thank you :)
AbhiPrasad commentedon Sep 29, 2025
The Sentry OTLP logs endpoint is now available to early adopters! See the docs here: https://docs.sentry.io/concepts/otlp/#opentelemetry-logs.
I'll try writing up a guide for fluentbit in the coming days, but if anyone wants to give it a try before hand please go for it and share your results in this issue. Thanks!
AbhiPrasad commentedon Nov 24, 2025
I wrote up docs for this here: https://docs.sentry.io/product/drains/integration/fluentbit/
This should work with basically every setup. If you have issues, please reach out here or open a new GitHub issue. Thanks!