© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
14 replies
typeleven

Audit record row access

Where should I start if I want to log access to records and store their ids and what user accessed them? Its not clear how I can use pgaudit, that seems more geared to logging record changes not record access. It looks like I cant attach a trigger for records based on SELECT either. Id like this to be done as close to the db as possible so I can also log access when I am in the dashboard otherwise Id build something at the application level.
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

pg_audit in log drains.
SupabaseSSupabase / help-and-questions
3mo ago
Best practises on Audit logs
SupabaseSSupabase / help-and-questions
5mo ago
Proper RLS for audit table
SupabaseSSupabase / help-and-questions
7mo ago
Deleting auth.audit_log_entries
SupabaseSSupabase / help-and-questions
3y ago