Querying Traces
Scenarios
After CTS is enabled, the tracker starts recording operations on cloud resources. The last 7 days of operation records are stored on the CTS console.
This section describes how to query the last 7 days of operation records on the CTS console.
Procedure
- Log in to the management console.
- Under Management & Governance, click Cloud Trace Service.
- Choose Trace List in the navigation pane on the left.
- Click Filter and specify filter criteria as needed. The following filters are available:
- Trace Source, Resource Type, and Search By: Select a filter from the drop-down list.
When you select Resource ID for Search By, you also need to select or enter a resource ID.
- Operator: Select a specific operator from the drop-down list.
- Trace Status: Available options include All trace statuses, Normal, Warning, and Incident. You can only select one of them.
- Time range: In the upper right corner of the page, specify a time range for querying traces.
- Trace Source, Resource Type, and Search By: Select a filter from the drop-down list.
- Select the search criteria, and click Query.
- Locate the required trace and click
on the left of the trace to view its details.
- Click View Trace in the Operation column. In the displayed dialog box, the trace structure details are displayed.
- Click Export on the right. CTS exports the traces collected in the past seven days to a CSV file. The CSV file contains all information related to traces on the management console.
For details about key fields in the trace structure, see "Trace Structure" and "Trace Examples" in the Cloud Trace Service User Guide.
Parent topic: Audit
- Scenarios
- Procedure