Updated on 2024-10-11 GMT+08:00

Querying Traces

Scenarios

After CTS is enabled, CTS starts recording operations on cloud resources. The CTS console stores the last 7 days of operation records for later query, audit, and backtracking.

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

Procedure

  1. Log in to the GeminiDB console.
  2. Click Service List. Under Management & Governance, click Cloud Trace Service.
  3. Choose Trace List in the navigation pane on the left.
  4. Click Filter and specify filter criteria as needed. The following filters are available:

    • Trace Type: Select Management or Data.
    • Trace Source, Resource Type, and Search By

      Select a filter from the drop-down list.

      When you select Trace name for Search By, you also need to select a specific trace name.

      When you select Resource ID for Search By, you also need to select or enter a specific resource ID.

      When you select Resource name for Search By, you also need to select or enter a specific resource name.

    • Operator: Select a specific operator (a user rather than tenant).
    • Trace Status: Available options include All trace statuses, normal, warning, and incident. You can only select one of them.
    • Start time and end time: You can specify a time range for querying traces.

  5. Click on the left of the record to be queried to extend its details.
  6. Locate a trace and click View Trace in the Operation column.