Viewing Traces
Scenarios
After Cloud Trace Service (CTS) is enabled, it starts recording operations on cloud resources. You can check the records generated over the last 7 days on the CTS console.
This section describes how to check the operation records generated over the last 7 days on the CTS console.
For details about how to view audit logs, see Querying Real-Time Traces.
Prerequisites
Before using CTS, you need to enable it. For details, see Enabling CTS.
Procedure
- Log in to the management console.
- In the upper left corner of the page, click
and choose Management & Governance > Cloud Trace Service to go to the Trace List page on the CTS console.
- In the time range drop-down list above the trace list, select a desired query time range: Last 1 hour, Last 1 day, or Last 1 week. You can also select Custom to specify a custom time range within the last seven days.
- The search box above the trace list supports advanced queries. Combine one or more filters to refine your search.
Table 1 Trace filtering parameters Parameter
Description
Trace Name
Name of a trace.
The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.
Trace Source
Cloud service name abbreviation.
The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.
Resource Name
Name of a cloud resource involved in a trace.
The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.
Resource ID
ID of a cloud resource involved in a trace.
The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.
Trace ID
Value of the trace_id parameter for a trace reported to CTS.
The entered value requires an exact match. Fuzzy matching is not supported.
Resource Type
Type of a resource involved in a trace.
The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.
Operator
User who triggers a trace.
Select one or more operators from the drop-down list.
If the value of trace_type in a trace is SystemAction, the operation is triggered by the service and the trace's operator may be empty.
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
Temporary or permanent access key ID.
To check access key IDs, hover over your username in the upper right corner of the console and select My Credentials from the pop-up list. On the displayed page, choose Access Keys in the navigation pane.
- 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.
For details about key fields in a trace structure, see Trace Structure and Example Traces in the Cloud Trace Service User Guide.
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