AWS Builder Center: Learn, Build and Connect with builders in the AWS community
AWS Builder Center is the official home for builders on AWS. Share and read what others are working on, follow people who inspire you, explore training and workshops, and find tools to support what you're building.
general log vs audit log
0
A customer was asked by an auditor to enable general logs (general_log) in RDS Aurora MySQL. Recently we had an issue with this cluster and we enabled audit logs (server_audit_logs).
After checking some sources it looks like if the audit log has QUERY, QUERY_DCL, QUERY_DDL, QUERY_DML enabled it should have the same info as the general log.
Is it recommended to use Audit log instead of general log in Aurora MySQL?
It is. General log can be very heavy, and will profile everything, which is pretty hard on write performance. Audit log is specifically designed for auditing purpose, and is lightweight.
What is the performance impact on the database when Audit Logging is turned on?
I read that to turn off the audit (when I finish with auditing) I need to remove the audit plugin and that will restart the DB instance. https://repost.aws/knowledge-center/advanced-audit-rds-mysql-cloudwatch
So I am considering to keep audit turn on.
What is the performance impact on the database when Audit Logging is turned on? I read that to turn off the audit (when I finish with auditing) I need to remove the audit plugin and that will restart the DB instance. https://repost.aws/knowledge-center/advanced-audit-rds-mysql-cloudwatch So I am considering to keep audit turn on.