Querying Extended Logs (RDS for SQL Server)
Function
This API is used to query extended logs of a DB instance.
- Before calling an API, you need to understand the API in Authentication.
Constraints
This API is supported only for RDS for SQL Server.
URI
- Parameter description
Table 1 Parameters Parameter
Mandatory
Description
project_id
Yes
Project ID of a tenant in a region.
For details about how to obtain the project ID, see Obtaining a Project ID.
instance_id
Yes
ID of the instance to be queried.
offset
No
Index offset.
If offset is set to N, the resource query starts from the N+1 piece of data. The value is 0 by default, indicating that the query starts from the first piece of data. The value must be a number but cannot be a negative number.
limit
No
Number of records on each page. Its value ranges from 1 to 100. The default value is 10.
Request
Response
- Normal response
Table 2 Parameters Parameter
Type
Description
list
Array of objects
Extended log file information. For details, see Table 3.
count
Integer
Total number of files.
- Example normal response
{ "list" : [ { "file_name" : "SQLTrace.xel", "file_size" : "1024" }, { "file_name" : "SQLTrace2.xel", "file_size" : "1024" } ], "count" : 2 }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot