Updated on 2024-07-30 GMT+08:00

Viewing Traces

Scenarios

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

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

CTS only retains traces for seven days. To store traces for a longer time, configure your tracker to transfer traces to OBS buckets. For details, see Configuring a Tracker.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. In the upper left corner of the page, click to go to the service list. Under Management & Governance, click Cloud Trace Service.
  4. In the navigation pane on the left, choose Trace List.
  5. Specify filters as needed. The following filters are available:
    • Trace Type: Set it to Management or Data.
    • Trace Source, Resource Type, and Search By

      Select filters from the drop-down list.

      If you select Trace name for Search By, select a trace name.

      If you select Resource ID for Search By, select or enter a resource ID.

      If you select Resource name for Search By, select or enter a resource name.

    • Operator: Select a specific operator (a user other than an account).
    • Trace Status: Select All trace statuses, Normal, Warning, or Incident.
    • Search time range: In the upper right corner, choose Last 1 hour, Last 1 day, or Last 1 week, or specify a custom time range.
  6. Click arrow on the left of the required trace to expand its details.
  7. Locate the required trace and click View Trace in the Operation column.

    A dialog box is displayed, showing the trace content.