Supabase plan Pro, Team, or Enterprise is required.
For a detailed breakdown of how additional charges are calculated in Supabase, refer to their Manage Log Drain usage guide.
Collect logs from your Supabase projects by configuring a custom log drain endpoint.
Supabase plan Pro, Team, or Enterprise is required.
For a detailed breakdown of how additional charges are calculated in Supabase, refer to their Manage Log Drain usage guide.
Create a new HTTP source in Better Stack.
Copy the Ingesting host and Source token from the source details. You will need these in the next step.
In your Supabase project dashboard, go to Project Settings β Log drains, and create a new Custom endpoint.
Set the Endpoint URL to:
After you click Save destination, you should see your Supabase logs in Better Stack β Live tail.
To make the integration even better, you can apply some optional configurations in Better Stack:
Supabase logs includes a timestamp field. To align this with Better Stack's standard dt field, you can use a VRL transformation.
You can also normalize the different log level fields metadata.level and metadata.parsed.error_severity.
Go to Sources β Supabase source β Configure β Transformations tab, and add the following VRL:
To see the most relevant information from your Supabase logs directly in the Live tail, you can customize the default message format.
Go to Sources β Supabase source β Configure β Advanced settings tab, and set the Live tail message format to:
This will display the host, log level, and the main message content prominently in your Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! π
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.