How to use Amazon Aurora DSQL audit logs

AWS has published a guide to audit logging in Amazon Aurora DSQL, which now records SQL statements, not just connection attempts, and delivers the logs to Amazon S3. Previously, CloudTrail data events showed only connections to DSQL clusters. The guide shows how to configure which statements to record using the AWS CLI and psql, and explains the main audit record fields. It also covers querying the logs with Amazon Athena and matching them to change data capture records by transaction ID.

AI-written summary, checked against the cited sources. How summaries work

Image: AWS Database Blog

Read at AWS Database Blog