Querying Real-Time Traces

Scenarios

After CTS is enabled, the tracker starts recording operations on cloud resources. CTS stores operation records for the last seven days.

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

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and choose Management & Deployment > Cloud Trace Service. The CTS console is displayed.

  3. In the navigation pane on the left, choose Trace List.

  4. Set filters to search for your desired traces, as shown in Figure 1. The following filters are available:

    **Figure 1** Filters

    Figure 1 Filters

    • 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.

    • Operator: Select a user.

    • Trace Status: Select All trace statuses, Normal, Warning, or Incident.

    • Time range: You can query traces generated during any time range in the last few days.

  5. 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.

  6. Click image2 on the left of a trace to expand its details.

    image3

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

    image4

    image5

    For details about key fields in the trace structure, see Trace Structure and Example Traces.