Skip to main content
Supabase is an open-source Firebase alternative that provides a Postgres database, authentication, instant APIs, edge functions, real-time subscriptions, storage, and vector embeddings. Integrating Axiom with Supabase allows you to stream your project’s raw log events directly to Axiom using Supabase’s log drain feature. With your logs in Axiom, you can query, visualize, and monitor your Supabase projects in real time, giving you full observability over your database operations, authentication events, and edge functions.

Prerequisites

Setup

  1. In Supabase, go to your project’s dashboard and navigate to Project Settings > Log Drains.
  2. Click Axiom, and then create a new destination with the following configuration:
    • Dataset name: Enter the name of the Axiom dataset you created.
    • API token: Enter the Axiom API token you created.
  3. Click Save destination.
Supabase sends logs to Axiom as JSON raw log events with timestamps formatted for Axiom’s ingestion endpoint. For more information on log drains, see the Supabase documentation.

Explore your Supabase data

After setting up the log drain, your Supabase logs appear in the dataset you specified. Open the Stream tab in Axiom to watch events arrive in real time. With your Supabase data in Axiom, you can:
  • Track authentication events and detect unusual sign-in patterns.
  • Observe edge function executions and errors.
  • Set up monitors to get alerted about issues in your Supabase project.
  • Build custom dashboards tailored to your Supabase workload.