Help Center/ Config/ User Guide/ Resource Compliance/ Built-In Policies/ Relational Database Service/ Error Log Collection Is Enabled for RDS Instances
Updated on 2025-08-25 GMT+08:00

Error Log Collection Is Enabled for RDS Instances

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

rds-instance-enable-errorLog

Identifier

rds-instance-enable-errorLog

Description

If error log collection is not enabled for an RDS instance, this instance is non-compliant.

Tag

rds

Trigger Type

Configuration change

Filter Type

rds.instances

Rule Parameters

None

Application Scenarios

RDS log management allows you to view database-level logs, including error logs and slow SQL query logs. Error logs help you analyze problems in databases. You can download error logs for service analysis. For details, see Viewing and Downloading Error Logs.

Solution

Configure error log collection. For details, see Log Configuration Management.

Rule Logic

  • If error logging is not enabled for an RDS DB instance, this instance is non-compliant.
  • If error logging is enabled for an RDS DB instance, this instance is compliant.