© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
5 replies
Perelan

Best practises on Audit logs

Hi!

Can someone enlighten me on how to best do audit logging in Supabase? I know there’s a pgAdudit extensions; however, that seems to be logging on lower level than what’s preferred (?).

Has anyone setup there own audit table and track each transaction in their database? Based on my research, what I found is to create a new table in a «audit» space and create a function that you then invoke into your respective tables. The audit table will then keep information of old and new values, who performed the action, etc… anything else obvious ways that I am missing out on?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Best practises for supabase edge functions?
SupabaseSSupabase / help-and-questions
4mo ago
Audit record row access
SupabaseSSupabase / help-and-questions
14mo ago
Auth error: "relation audit_logs does not exist" - blocking all new user signups
SupabaseSSupabase / help-and-questions
6mo ago
pg_audit in log drains.
SupabaseSSupabase / help-and-questions
3mo ago