Updated on 2024-12-02 GMT+08:00

Event Recording

Edge offers comprehensive logging and event auditing. You can review operations, troubleshoot faults, and locate involved resources through the console and log files.

Overview

  • Logging: Operations are logged in {Edge-installation-directory}/logs/audit/audit.log.
  • Event recording: On the Edge console, you can view event records, which include event details such as the event source, involved resources, key behaviors, operation time, and operation result.

  • Filtering and search: You can filter event records by key behavior or search for event records by keyword.
  • Troubleshooting: If an operation fails, you can review the logs to learn what the cause is.
  • Key operation and resource display::
    • For key actions such as changing passwords or credentials, the resource field displays the involved account name or credential ID.
    • For key actions such as MgC delivering instructions to Edge or Edge reporting data to MgC, the resource field displays the path of the file that stores the instructions or data. You can find the file using the following path:
      • Instructions received from MgC: {Edge-installation-directory}/logs/audit/downlink_command.txt
      • Data reported to MgC: {Edge-installation-directory}/logs/audit/uplink_data.txt
  • Periodic log archiving: The system automatically compresses the audit.log file into a .zip package at the beginning of each month and saves the package to the : {Edge-installation-directory}/logs/audit/ directory. The package name is in the format of year-month.zip, for example, 2024-xx.zip.