Log Collection and Management

Log collection and management enables administrators to collect platform logs by time range and log type and manage or download collected logs for troubleshooting and analysis.

Collect Logs

Before you begin

  • Reserve sufficient storage space. Insufficient capacity will cause log collection to fail.
  • The platform can retain up to three collected log packages. To collect new logs, delete collected logs as needed.
  • When downloading logs through a URL, make sure the download environment can communicate with the platform management network.

Procedure

  1. In the navigation pane, choose O&M Management > Log Collection.
  2. On the Log Collection page, click Collect Log.
  3. Configure the log collection task.
    OptionDescription
    Log TypeSelect All Logs or Specified Logs.
    • All Logs collects operation logs, event logs, management node logs, compute node logs, data storage logs, image storage logs, and database logs.
    • Specified Logs collects only the selected log types.
    Time RangeSpecify the time range for collecting logs. A custom time range can be up to 5 days.
    Auto DownloadSpecify whether to automatically download successfully collected logs.
  4. Review the configuration and click OK.

Manage Collected Logs

Procedure

  1. In the navigation pane, choose O&M Management > Log Collection.
  2. Manage collected logs on the Log Collection page.
    1. Click Download to download a collected log package.
    2. Click Delete to delete a single collected log package.
    3. Click Delete All Logs to delete all collected log packages.