Updated on 2025-09-15 GMT+08:00

Viewing Traces

Scenarios

After Cloud Trace Service (CTS) is enabled, it starts recording operations on cloud resources. You can check the records generated over the last 7 days on the CTS console.

This section describes how to check the operation records generated over the last 7 days on the CTS console.

For details about how to view audit logs, see Querying Real-Time Traces.

Prerequisites

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

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, click and choose Management & Governance > Cloud Trace Service to go to the Trace List page on the CTS console.
  3. In the time range drop-down list above the trace list, select a desired query time range: Last 1 hour, Last 1 day, or Last 1 week. You can also select Custom to specify a custom time range within the last seven days.
  4. The search box above the trace list supports advanced queries. Combine one or more filters to refine your search.

    Table 1 Trace filtering parameters

    Parameter

    Description

    Trace Name

    Name of a trace.

    The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.

    Trace Source

    Cloud service name abbreviation.

    The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.

    Resource Name

    Name of a cloud resource involved in a trace.

    The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.

    Resource ID

    ID of a cloud resource involved in a trace.

    The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.

    Trace ID

    Value of the trace_id parameter for a trace reported to CTS.

    The entered value requires an exact match. Fuzzy matching is not supported.

    Resource Type

    Type of a resource involved in a trace.

    The entered value is case-sensitive and requires an exact match. Fuzzy matching is not supported.

    Operator

    User who triggers a trace.

    Select one or more operators from the drop-down list.

    If the value of trace_type in a trace is SystemAction, the operation is triggered by the service and the trace's operator may be empty.

    Trace Status

    Select one of the following options from the drop-down list:

    • normal: The operation succeeded.
    • warning: The operation failed.
    • incident: The operation caused a fault that is more serious than a normal failure, for example, causing other faults.

    Enterprise Project ID

    ID of the enterprise project to which a resource belongs.

    To check enterprise project IDs, go to the Enterprise Project Management Service (EPS) console and choose Project Management in the navigation pane.

    Access Key

    Temporary or permanent access key ID.

    To check access key IDs, hover over your username in the upper right corner of the console and select My Credentials from the pop-up list. On the displayed page, choose Access Keys in the navigation pane.

  5. Check the traces that meet the search criteria.
  6. Click a trace name. Details about the trace are displayed in the dialog box on the right.
  7. Click Export to export all traces in the query result as an .xlsx file.

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