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.