Updated on 2024-02-08 GMT+08:00

Querying Traces

Scenarios

After CTS is enabled, CTS starts recording operations on cloud resources. The CTS console stores the last 7 days of operation records for later query, audit, and backtracking.

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

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Management & Governance, click Cloud Trace Service.
  4. Choose Trace List in the navigation pane on the left.
  5. Click Filter and specify filter criteria as needed. The following filters are available:

    • Trace Type: Select Management or Data.
    • Trace Source, Resource Type, and Search By

      Select a filter from the drop-down list.

      When you select Trace name for Search By, you also need to select a specific trace name.

      When you select Resource ID for Search By, you also need to select or enter a specific resource ID.

      When you select Resource name for Search By, you also need to select or enter a specific resource name.

    • Operator: Select a specific operator (a user rather than tenant).
    • Trace Status: Available options include All trace statuses, normal, warning, and incident. You can only select one of them.
    • Start time and end time: You can specify a time range for querying traces.

  6. Click on the left of the record to be queried to extend its details.
  7. Locate a trace and click View Trace in the Operation column.