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

Viewing and Downloading Logs

Scenarios

If you have enabled log reporting to LTS for a DRS task in Log Reporting, you can analyze logs, search for logs, visualize logs, download logs, and view real-time logs on the LTS console.

Viewing Logs Reported to LTS

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Under Management & Governance, click Log Tank Service.
  4. In the Log Groups area, locate a target log group and click its name. For details about LTS, see Log Tank Service (LTS) User Guide.

    Figure 1 Viewing log details
    Table 1 Log field description

    Name

    Type

    Description

    _resource_id

    String

    Resource ID. The value is fixed to projectId for DRS.

    _resource_name

    String

    Resource name. The value is fixed to DRS.

    _service_type

    String

    Service type. The value is fixed to Data Replication Service.

Downloading Logs Reported to LTS

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Under Management & Governance, click Log Tank Service.
  4. In the Log Groups area, locate a target log group and click its name.
  5. Click Download on the right to download logs. For details about LTS, see Log Tank Service (LTS) User Guide.

    Figure 2 Downloading logs