Viewing Tracing Events
Scenarios
After CTS is enabled, operations on cloud resources are recorded. You can view the operation records of the last 7 days on the CTS console.
This section describes how to query the operation records of the last 7 days on the console.
Prerequisites
Before using CTS, you need to enable it. For details, see Enabling CTS.
Procedure
- Log in to the Cloud Trace Service console.
- Click
in the upper left corner and select a region and project. - In the navigation pane, choose Trace List.
- Filter conditions to query traces.
Parameter
Description
Read-Only
After adding the Read-Only filter, you can select either Yes or No.
- Yes: filters read-only traces, for example, resource query operations. This option is available after Read-Only Trace Reporting has been enabled for at least one read-only trace in Configuration Center.
- No: filters non-read-only traces, such as creating, modifying, and deleting resources.
Trace Name
Name of a trace.
The value is case sensitive and requires an exact match. Fuzzy match is not supported.
Trace Source
Abbreviation of a cloud service name.
The value is case sensitive and requires an exact match. Fuzzy match is not supported.
Resource Name
Name of a cloud resource involved in a trace.
The value is case sensitive and requires an exact match. Fuzzy match is not supported.
If the cloud resource involved in the trace does not have a resource name or the corresponding API operation does not involve the resource name parameter, leave this field empty.
Resource ID
ID of a cloud resource involved in a trace.
The value is case sensitive and requires an exact match. Fuzzy match is not supported.
If the resource type does not have a resource ID or the resource fails to be created, leave this field empty.
Trace ID
Value of the trace_id parameter for a trace reported to CTS.
The value requires an exact match. Fuzzy match is not supported.
Resource Type
Type of a resource involved in a trace.
The value is case sensitive and requires an exact match. Fuzzy match is not supported.
Operator
User who triggers a trace.
Select one or more operators from the drop-down list.
Trace Status
Select one of the following options from the drop-down list:
- normal: The operation succeeded.
- warning: The operation failed.
- incident: The operation caused a fault that is more serious than a normal failure, for example, causing other faults.
Enterprise Project ID
ID of the enterprise project to which a resource belongs.
To check enterprise project IDs, go to the Enterprise Project Management Service (EPS) console and choose Project Management in the navigation pane.
Access Key ID
Temporary or permanent access key ID.
To view the access key ID, hover over the username in the upper right corner of the console and choose My Credentials. On the displayed page, choose Access Keys.
- Check the traces that meet the search criteria.
- Click a trace name. Details about the trace are displayed in the dialog box on the right.
- Click Export to export all traces in the query result as an XLSX file. The file can contain up to 5,000 records.
For details about key fields in a trace structure, see Trace Structure and Example Traces.
What is your overall rating for this page?
Thank 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