Supabase Log Drains
Learn how to set up Supabase Log Drains to forward logs to Sentry.
The Sentry Supabase Log drain will forward all logs from your Supabase stack to Sentry.
Supabase Log Drains are only available on the Supabase Team and Enterprise Plans
Before you begin, ensure you have:
- A Supabase project that you want to monitor
- A Sentry project you want to send data to
To set up the Sentry log drain, follow these steps:
- Grab your DSN from your Sentry project settings.
Copied
___DSN___
- Create a Sentry log drain in the Supabase dashboard. Make sure you provide the DSN you grabbed in the previous step.
Then you should get logs in your Sentry project. All fields from the log event are attached as attributes to the Sentry log, which can be used for filtering and grouping in the Sentry UI.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").