Using pgaudit in Managed Service for PostgreSQL
Written by
Updated at May 24, 2023
The pgaudit
Installing the pgaudit extension into a PostgreSQL cluster
- Enable the shared library named
pgauditfor your cluster. - Add
pgauditto the database. - For users whose actions should be logged to an audit log, specify the required Pg audit log setting values. For more information, see Changing user settings.
Audit logs will be available when viewing cluster logs.
To learn more about the pgaudit extension, see the official documentation