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?

1 Answer
0
Accepted Answer

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.

More info on audit log can be found here.

AWS
answered 4 years ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions