/audit-log page.
In-App Audit Log
The/audit-log page has two tabs:
- Connection — SQL execution and data export entries for the selected connection, newest first. Requires
adminpermission on that connection. - System — instance-level events that aren’t tied to a connection (
auth.login/auth.logout), including the auth provider and source IP. Only visible to an instance owner, since these events span all users.
retention_days to prune older entries:
pgconsole.toml
Events
Log Format
All audit events are JSON objects with a common structure:Common Fields
auth.login
auth.logout
sql.execute
data.export
Capturing Logs
Audit logs are written to stdout alongside other server output. Filter by"type":"audit" to capture audit events only: