Updated on 2024-05-21 GMT+08:00

Viewing Tracing Events

Scenarios

After CTS is enabled, operations on cloud resources are recorded. You can view the operation records of the last 7 days on the CTS console.

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

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

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. In the upper left corner of the page, click and choose Management & Governance > Cloud Trace Service.
  4. In the navigation pane on the left, choose Trace List.
  5. Filter conditions to query traces.

    Table 1 Filtering criteria

    Filtering Criteria

    Description

    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

    Select Management or Data

    • Management traces record details about creating, configuring, and deleting cloud service resources in your tenant account.
    • Data traces record operations on data, such as data upload and download.
      NOTE:
      • If you select Data for Trace Type, you can only filter traces by tracker.
      • The trace list does not record queries.

    Trace Source

    Select a trace source as needed.

    Resource Type

    Select a resource type as needed.

    Search By

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

    Operator

    Select a specific operator from the drop-down list.

    Trace Status

    Select All trace statuses, Normal, Warning, or Incident.

  6. View the events that meet the search criteria.
  7. Click an event name. Details about the event are displayed in the dialog box on the right.
  8. Click Export in the upper left corner of the list. CTS exports traces collected in the past seven days to a CSV file. The CSV file contains all information related to the traces.

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