Viewing Tracing Logs

Scenarios

After you enable CTS, the system starts recording operations on cloud resources. You can view the operation records of the last seven days on the CTS console.

This topic describes how to query or export the operation records of the past seven days on the CTS console.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Management & GovernanceManagement & Deployment > Cloud Trace Service. The CTS console is displayed.
  3. In the navigation pane on the left, choose Trace List.
  4. Specify the search criteria as needed.
    • 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.
    • Trace Type, Trace Source, Resource Type, and Search By: Select a filter from the drop-down list.

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

      If you select Data for Trace Type, you can only filter traces by tracker.

    • Operator: Select one or more operators from the drop-down list.
    • Trace Status: Available options include All trace statuses, Normal, Warning, and Incident.
  5. Click Query.
  6. Click Export on the right to export all traces in the query result as a CSV file. The file can contain up to 5000 records.
  7. Click on the left of a trace to expand its details.

  8. Click View Trace in the Operation column. The trace details are displayed.