Using pgaudit in Managed Service for PostgreSQL
Written by
Updated at December 25, 2025
The pgaudit
Installing the pgaudit extension in a PostgreSQL cluster
- Load the
pgauditshared library into your cluster. - Enable the
pgauditextension in your database. - For users whose actions should be audited, specify the required Pg audit log values. For more information, see Changing user settings.
Audit logs will be included in the cluster logs.
To learn more about the pgaudit extension, see its official documentation