Field Value | Type | Description |
TIMESTAMP | - | A reserved field of CLS, indicating the log generation time. |
instance_id | String | Database instance ID, for example, cdb-xxx. |
db_name | String | Database name. |
rows_examined | Long | Number of rows scanned. |
rows_sent | Long | Number of rows returned. |
query_time | Double | Execution time (unit: s). |
lock_time | Double | Lock wait time (unit: s). |
user_host | String | Client information. |
user_name | String | Username used by the client to connect to the database instance. |
query_sql | String | Slow log SQL. |
Field Value | Type | Description |
TIMESTAMP | - | A reserved field of CLS, indicating the log generation time. |
instance_id | String | Database instance ID, for example, cdb-xxx. |
content | String | Error log content. |
level | String | Error log level. For example, warning, note, error, etc. Logs without a level are none, for example, deadlock error logs. |


Parameter | Description |
Region | Select the region for log shipping. Cross-region shipping is supported. |
Logset Management | A logset categorizes log topics to facilitate your management of log topics. You can select an existing logset or create a logset. |
Logset | Select an existing logset: You can filter existing logsets in the search box to categorize slow log shipping. Create a logset: You can create a new logset to categorize slow log shipping. The naming format for the logset is cloud_custom_logset, where the custom part can only contain English letters, digits, and underscores, and its length cannot exceed 20 characters. |
Log Topic Management | A log topic is the basic unit for log data collection, storage, retrieval, and analysis. You can select an existing log topic or create a log topic. |
Log Topic | Select an existing log topic: This option is available only when an existing logset is selected. You can filter log topics under the selected logset in the search box. Create a log topic: Create a new log topic under the selected logset. The naming format for the log topic is cloud_custom_topic, where the custom part can only contain English letters, digits, and underscores, and its length cannot exceed 20 characters. Note: |
Retention Period | Select the retention period for slow log shipping data. The default value is 30 days. You can select a period from 1 day to 3600 days. Data will be automatically cleared after the logs expire. If an existing log topic is selected, the retention period will be consistent with the retention period of the corresponding existing log topic by default. |
Index Creation | Enabled by default. Index configuration is a prerequisite for using CLS for search and analysis. Logs can be searched and analyzed only after the index is enabled. Learn more If an existing log topic is selected, the index status will be consistent with the index status of the corresponding existing log topic by default. |


Parameter | Description |
Region | Select the region for log shipping. Cross-region shipping is supported. |
Logset Management | A logset categorizes log topics to facilitate your management of log topics. You can select an existing logset or create a logset. |
Logset | Select an existing logset: You can filter existing logsets in the search box to categorize error log shipping. Create a logset: You can create a new logset to categorize error log shipping. The naming format for the logset is cloud_custom_logset, where the custom part can only contain English letters, digits, and underscores, and its length cannot exceed 20 characters. |
Log Topic Management | A log topic is the basic unit for log data collection, storage, retrieval, and analysis. You can select an existing log topic or create a log topic. |
Log Topic | Select an existing log topic: This option is available only when an existing logset is selected. You can filter log topics under the selected logset in the search box. Create a log topic: Create a new log topic under the selected logset. The naming format for the log topic is cloud_custom_topic, where the custom part can only contain English letters, digits, and underscores, and its length cannot exceed 20 characters. Note: |
Retention Period | Select the retention period for slow log shipping data. The default value is 30 days. You can select a period from 1 day to 3600 days. Data will be automatically cleared after the logs expire. If an existing log topic is selected, the retention period will be consistent with the retention period of the corresponding existing log topic by default. |
Index Creation | Enabled by default. Index configuration is a prerequisite for using CLS for search and analysis. Logs can be searched and analyzed only after the index is enabled. Learn more If an existing log topic is selected, the index status will be consistent with the index status of the corresponding existing log topic by default. |

Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback