📹 The future of AI infrastructure: optimize and shard your database with agents.Watch the talk
Navigation

Export Postgres authentication attempts from the CLI

You can now export a report Postgres authentication attempts from the pscale CLI. Reports include the client IP address, credential used, targeted database and branch, authentication outcome, and failure details.

pscale audit-log auth-attempts download --since 24h --output auth-attempts.zip

Filter by IP address or CIDR range, branch, username, startup database, outcome, failure reason, and connection path. Reports come back as CSV, JSON Lines, or Parquet, alongside a manifest that records the exact time window and filters used.

Authentication attempts are captured at the connection layer, so the report includes the original client IP address even when a connection is routed through a pooler. This can be useful for reviewing connection activity, troubleshooting authentication failures, or investigating unexpected access.

Generating a report requires Organization Administrator access.

Read the docs · CLI reference