Skip to content

Fluentbit.io Log Drain Support for Sentry Logging #98440

Closed

Description

@Dhrumil-Sentry

Activity

  1. linear commented on Aug 28, 2025

    @linear
  2. alexyounghive commented on Sep 10, 2025

    @alexyounghive

    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.

    Many thanks

  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 10, 2025
  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 19, 2025
  5. changed the title [-]Fluentbit.io support for Log Drains[/-] [+]Fluentbit.io Log Drain Support for Sentry Logging[/+] on Sep 19, 2025
  6. AbhiPrasad commented on Sep 19, 2025

    @AbhiPrasad
    Contributor

    @alexyounghive as soon as we have our OTLP logs endpoint ready (#98649), you can use the OpenTelemetry output 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!

  7. alexyounghive commented on Sep 23, 2025

    @alexyounghive

    @alexyounghive as soon as we have our OTLP logs endpoint ready (#98649), you can use the OpenTelemetry output 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!

    super stuff, thank you :)

  8. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 23, 2025
  9. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 29, 2025
  10. AbhiPrasad commented on Sep 29, 2025

    @AbhiPrasad
    Contributor

    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!

  11. AbhiPrasad commented on Nov 24, 2025

    @AbhiPrasad
    Contributor

    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!

  12. locked and limited conversation to collaborators on Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions