Updated on 2024-07-23 GMT+08:00

Viewing Audit Logs

After you enable CTS, the system starts recording CloudTable operation logs. Operation records of the last 7 days can be viewed on the CTS management console.

This section includes the following content:

Enabling CTS

A tracker will be automatically created after CTS is enabled. All traces recorded by CTS are associated with a tracker. Currently, only one tracker can be created for each account.

  1. On the CloudTable management console, choose Service List > Management & Deployment > Cloud Trace Service. The CTS management console is displayed.
  2. Enabling CTS

    If you are a first-time CTS user and do not have any created tackers in the tracker list, enable CTS first. For details, see Enabling CTS in the Cloud Trace Service Getting Started.

    If you have enabled CTS, the system has automatically created a management tracker. Only one management tracker can be created and it cannot be deleted. You can also manually create a data tracker. For details, see Managing Trackers > Creating a Tracker in the Cloud Trace Service User Guide.

Disabling the Audit Log Function

If you want to disable the audit log function, disable the tracker in CTS.

  1. On the CloudTable management console, choose Service List > Management & Deployment > Cloud Trace Service. The CTS management console is displayed.
  2. Disable the audit log function by disabling the tracker. To enable the audit log function again, you only need to enable the tracker.

    For details about how to enable or disable a tracker, see Disabling or Enabling a Tracker in the Cloud Trace Service Getting Started.

Viewing CTS Logs of CloudTable

  1. Log in to the management console.
  2. Click Service List on the upper part of the page and choose Management & Deployment > Cloud Trace Service.
  3. In the navigation pane on the left, choose Trace List.
  4. In the upper right corner of the trace list, click Filter to set the search criteria.

    The following four filter criteria are available:

    • Trace Source, Resource Type, and Search By
      • Trace Source: Select CloudTable.
      • Resource Type: Select All resource types or specify a resource type.
      • Search By: Select All or any of the following options:
        • Trace name: If you select this option, you also need to select a specific trace name.
        • Resource ID: If you select this option, you also need to select or enter a specific resource ID.
        • Resource name: If you select this option, you also need to select or enter a specific resource name.
    • Operator: Select a specific operator (at user level rather than tenant level).
    • Trace Status: Available options include All trace statuses, normal, warning, and incident. You can only select one of them.
    • Start Date and End Date: You can specify the time period to query traces.

  5. Click Query.
  6. Click on the left of the trace to be queried to extend its details.

    Figure 1 Trace

  7. Locate the row containing the target trace and click View Trace in the Operation column.

    Figure 2 Viewing a trace

    For details about key fields in the CTS trace structure, see the Trace Structure in the Cloud Trace Service User Guide.