Log Drains

Export logs to Datadog, Grafana, Sentry, S3, and more — now available on Pro.

Stage:
General Availability
Available on self-hosted:
Yes

Log Drains enable developers to export logs generated by Supabase services—Postgres, Auth, Storage, Edge Functions, Realtime, and the API Gateway—directly to their existing observability tools. Previously available on Team and Enterprise plans only, Log Drains are now available as a Pro plan add-on.

Key benefits

  1. Full-stack visibility: Export logs from every layer of your Supabase infrastructure—not just application code—into a single dashboard alongside your other services.
  2. Centralized logging: Consolidate logs from multiple Supabase services into your existing observability stack without building custom polling infrastructure.
  3. Custom alerting: Ingest logs into Datadog, Grafana, or Sentry to trigger alerts on database errors, auth failures, or traffic anomalies.
  4. Extended retention: Route logs to AWS S3 for low-cost long-term archival, meeting compliance and audit requirements.
  5. Near-real-time delivery: Logs are batched (up to 250 per batch or flushed every second) and compressed with gzip when the destination supports it.

Supported destinations

Datadog, Grafana Loki, Sentry, AWS S3, Axiom, and a generic HTTP endpoint for custom routing.

Pricing

$60 per drain per project, plus $0.20 per million events and $0.09 per GB egress.

Share

Build in a weekend, scale to millions