/AWS1/CL_RDSCLOUDWATCHLOGSEX00¶
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.
The EnableLogTypes
and DisableLogTypes
arrays determine which logs will be exported
(or not exported) to CloudWatch Logs. The values within these arrays depend on the DB
engine being used.
For more information about exporting CloudWatch Logs for Amazon RDS DB instances, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.
For more information about exporting CloudWatch Logs for Amazon Aurora DB clusters, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
it_enablelogtypes
TYPE /AWS1/CL_RDSLOGTYPELIST_W=>TT_LOGTYPELIST
TT_LOGTYPELIST
¶
The list of log types to enable.
The following values are valid for each DB engine:
Aurora MySQL -
audit | error | general | slowquery
Aurora PostgreSQL -
postgresql
RDS for MySQL -
error | general | slowquery
RDS for PostgreSQL -
postgresql | upgrade
it_disablelogtypes
TYPE /AWS1/CL_RDSLOGTYPELIST_W=>TT_LOGTYPELIST
TT_LOGTYPELIST
¶
The list of log types to disable.
The following values are valid for each DB engine:
Aurora MySQL -
audit | error | general | slowquery
Aurora PostgreSQL -
postgresql
RDS for MySQL -
error | general | slowquery
RDS for PostgreSQL -
postgresql | upgrade
Queryable Attributes¶
EnableLogTypes¶
The list of log types to enable.
The following values are valid for each DB engine:
Aurora MySQL -
audit | error | general | slowquery
Aurora PostgreSQL -
postgresql
RDS for MySQL -
error | general | slowquery
RDS for PostgreSQL -
postgresql | upgrade
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENABLELOGTYPES() |
Getter for ENABLELOGTYPES, with configurable default |
ASK_ENABLELOGTYPES() |
Getter for ENABLELOGTYPES w/ exceptions if field has no valu |
HAS_ENABLELOGTYPES() |
Determine if ENABLELOGTYPES has a value |
DisableLogTypes¶
The list of log types to disable.
The following values are valid for each DB engine:
Aurora MySQL -
audit | error | general | slowquery
Aurora PostgreSQL -
postgresql
RDS for MySQL -
error | general | slowquery
RDS for PostgreSQL -
postgresql | upgrade
Accessible with the following methods¶
Method | Description |
---|---|
GET_DISABLELOGTYPES() |
Getter for DISABLELOGTYPES, with configurable default |
ASK_DISABLELOGTYPES() |
Getter for DISABLELOGTYPES w/ exceptions if field has no val |
HAS_DISABLELOGTYPES() |
Determine if DISABLELOGTYPES has a value |