Updated on 2023-01-18 GMT+08:00

Audit Logs

Using Cloud Trace Service (CTS), you can view user and platform operations and results. If an exception occurs, you can locate and rectify the fault based on the logs. The table below lists IoTDA operations that are logged.

Operation

Resource Type

Trace Name

Creating a rule

rule

createRule

Deleting a rule

rule

deleteRule

Updating a rule

rule

updateRule

Modifying the rule status

rule

changeRuleStatus

Delivering a device command

command

sendCommand

Creating a batch task

batchtasks

createBatchTask

Uploading a certificate

certificate

addCertificate

Deleting a certificate

certificate

deleteCertificate

Verifying a certificate

certificate

verifyCertificate

Registering a device

device

addDevice

Deleting a device

device

deleteDevice

Resetting a device secret

device

resetDeviceSecret

Adding a group

device-group

addDeviceGroup

Modifying a group

device-group

updateDeviceGroup

Deleting a group

device-group

deleteDeviceGroup

Managing devices in a group

device-group

manageDevicesInGroup

Configuring desired data in the device shadow

deviceShadow

updateDeviceShadow

Procedure

  1. Log in to the CTS management console.
  2. In the navigation pane, choose Trace List
  3. Set the corresponding trace conditions. The following filters are available:

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

      • Trace Source: Select IoTDA.
      • Resource Type: Select All resource types or specify a resource type.

      • Search By: Select All filters or Resource ID. If you select Resource ID, enter a specific resource ID.

    • Operator: Select an operator (at user level rather than account level).
    • Trace Status: Select All trace statuses, Normal, Warning, or Incident.
    • Time range: Select any time range in the last seven days.

  4. Click Query to view the operation event.
  5. Click View Trace in the Operation column. A dialog box is displayed to show the trace structure details.

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