Updated on 2025-10-28 GMT+08:00

Viewing Traces

Scenarios

After CTS is enabled, the system starts recording operations on cloud resources. CTS stores operation records of the last seven days.

This section describes how to query operation records of the last seven days on the CTS console.

Before using CTS, you need to enable it. For details, see Enabling CTS.

Procedure

  1. Log in to the console.
  2. Click in the upper left corner. Choose Management & Governance > Cloud Trace Service.
  3. Choose Trace List in the navigation pane on the left.
  4. Specify filter criteria to search for the required traces. The following filters are available:

    • Trace Type, 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.

  5. Click Query.
  6. Locate the required trace and click on the left of the trace to view its details.
  7. Click View Trace in the Operation column. In the displayed dialog box, the trace structure details are displayed.
  8. Click Export in the upper right corner of the trace list, and CTS exports traces collected in the past 7 days to a CSV file.

    For details about key fields in the trace structure, see sections "Trace Structure" and "Trace Examples" in the Cloud Trace Service User Guide.