Amazon Aurora Serverless Publishes Logs to Amazon CloudWatch

Posted on: Feb 25, 2019

You can now configure Amazon Aurora Serverless (MySQL-compatible edition) to publish general logs, slow query logs, audit logs, and error logs to Amazon CloudWatch Logs.

Publishing these logs to CloudWatch Logs allows you to maintain continuous visibility into database activity, query performance, and errors in your Aurora Serverless databases. For example, you can set up CloudWatch Alarms to notify you on frequent restarts which are recorded in the error log. Similarly, alarms for events recorded in general or audit logs can be created to alert on unwanted changes made to your databases. You may also create alarms to monitor the slow query log and enable timely detection of long-running queries.

CloudWatch Logs provide a durable archive destination for your database logs. You can specify a retention period to indicate how long you want CloudWatch to retain your logs. Additionally, with CloudWatch Logs, you can perform ad hoc searches across multiple logs. This capability is particularly useful for troubleshooting, audits, and log analysis.

Read more about RDS, Aurora and CloudWatch on the AWS Database blog, and refer to the Aurora Serverless documentation for more information. To start publishing logs from Aurora Serverless databases to CloudWatch Logs, visit the Amazon RDS Management Console or download the latest AWS SDK or CLI.

Aurora combines the performance and availability of high-end commercial databases with the simplicity and cost-effectiveness of open source databases. For more information, please visit the Amazon Aurora product page. For pricing and regional availability, see Amazon Aurora Pricing.