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.Documentation Index
Fetch the complete documentation index at: https://axiom.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to ingest data to the dataset you have created.
- Create a Supabase account and upgrade to a Pro, Team, or Enterprise plan.
Setup
- In Supabase, go to your project’s dashboard and navigate to Project Settings > Log Drains.
- 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.
- Click Save destination.
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.