• Scalable File Service

sfs
  1. Help Center
  2. Scalable File Service
  3. User Guide
  4. Management
  5. Querying Traces

Querying Traces

Scenario

Cloud Trace Service (CTS) records operations of SFS resources, facilitating query, audit, and backtracking.

Prerequisites

You have enabled CTS and the tracker is normal. For details about how to enable CTS, see section "Enabling CTS" in the Cloud Trace Service User Guide.

Operations

Table 1 SFS operations traced by CTS

Operation

Resource Type

Trace

Creating a share

sfs

createShare

Updating a share

sfs

updateShareInfo

Deleting a share

sfs

deleteShare

Adding a share access rule

sfs

addShareACL

Deleting a share access rule

sfs

deleteShareACL

Expanding a share

sfs

extendShare

Shrinking a share

sfs

shrinkShare

Querying Traces

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List and choose Management & Deployment > Cloud Trace Service.
  4. In the navigation pane on the left, choose Trace List.
  5. On the trace list page, click Filter. In the displayed box, specify Trace Source, Resource Type, and Search By, and click Query to query the specified traces.

    For details about other operations, see section "Querying Real-Time Traces" in the Cloud Trace Service User Guide.

Disabling or Enabling a Tracker

This section describes how to disable an existing tracker on the CTS console. After the tracker is disabled, the system will stop recording operations, but you can still view existing operation records.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List and choose Management & Deployment > Cloud Trace Service.
  4. Click Tracker in the left pane.
  5. Click Disable on the right of the tracker information.
  6. Click OK.
  7. After the tracker is disabled, its status changes from Disable to Enable. To enable the tracker again, click Enable and then click OK. The system will start recording operations again.