Aurora RDS Audit log
0
How can I exclude "select" queries from auditing in an Aurora Mysql cluster? I want Cloudwatch to not save these queries to the log pool.
asked 14 days ago26 views
1 Answers
0
Hello Guillermo Pisqui
I completely see why you want Cloudwatch to save these queries to the log pool based on the information provided.However you have to note that you will exclude all other DML queries logging as (SELECT, INSERT, UPDATE e.i).Only with RDS MySQL are they able to exclude SELECT queries exclusively with setting like :
SERVER_AUDIT_EVENTS = QUERY_DML_NO_SELECT
This parameter defaults to OFF; set it to ON to enable Advanced Auditing.To exclude the SELECT’s you can use the “server_audit_events” setting and set it to “QUERY_DML”.In the parameter group do settings like:
SERVER_AUDIT_EVENTS = QUERY_DML
Reference:
answered 14 days ago
Relevant questions
Specific Cloudwatch log groups not responding to queries
asked 5 months agoMigrating from RDS MariaDB 10.2 to Aurora MySQL 5.6
Accepted Answerasked 3 years agoAWS RDS Aurora MySql Serverless: ft_min_word_len is not being recognized
asked 3 months agoCDK: How to create an encrypted Aurora MySQL-compatible cluster using an un-encrypted snapshot
RDS Aurora - stop upgrading process
Accepted Answerasked 3 months agoUnable to configure Multi AZ deployment for existing Aurora MySQL
Accepted Answerasked 4 months agoAurora RDS Audit log
asked 14 days agogeneral log vs audit log
Accepted Answerasked 2 years agoAurora cluster DNS endpoint not found: 3(NXDOMAIN)
asked 5 months agoMySQL Aurora Error connecting to S3
Accepted Answerasked 3 months ago