Using pgaudit in Managed Service for PostgreSQL
Written by
Updated at July 8, 2026
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.
Learn more about the pgaudit extension in this official guide