describe_error_logs
Retrieve error logs for Alibaba Cloud RDS instances by specifying region, instance ID, time range, and pagination. Use this tool to analyze and troubleshoot database issues efficiently.
Instructions
Query error logs of an RDS instance.
Args:
region_id: The region ID of the RDS instance.
db_instance_id: The ID of the RDS instance.
start_time: The start time of the query. Format: yyyy-MM-dd HH:mm.
end_time: The end time of the query. Format: yyyy-MM-dd HH:mm.
page_size: The number of records per page. Range: 30~100. Default: 30.
page_number: The page number. Default: 1.
Returns:
Dict[str, Any]: A dictionary containing error log information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
db_instance_id | Yes | ||
end_time | Yes | ||
page_number | No | ||
page_size | No | ||
region_id | Yes | ||
start_time | Yes |
Input Schema (JSON Schema)
{
"properties": {
"db_instance_id": {
"title": "Db Instance Id",
"type": "string"
},
"end_time": {
"title": "End Time",
"type": "string"
},
"page_number": {
"default": 1,
"title": "Page Number",
"type": "integer"
},
"page_size": {
"default": 30,
"title": "Page Size",
"type": "integer"
},
"region_id": {
"title": "Region Id",
"type": "string"
},
"start_time": {
"title": "Start Time",
"type": "string"
}
},
"required": [
"region_id",
"db_instance_id",
"start_time",
"end_time"
],
"title": "describe_error_logsArguments",
"type": "object"
}