Updated on 2024-04-15 GMT+08:00

Viewing Log Files

You can quickly view log files of component instances or hosts to locate faults.

Viewing Log Files

  1. On the menu bar, choose Monitoring Center.
  2. In the navigation pane, choose Log Analysis > Log Files.
  3. On the page that is displayed, click the Host tab and click a name. Information such as the log file name and latest written time is displayed on the right of the page.
  4. Click View in the Operation column of the desired instance. Table 1 shows how to view log file details.

    Table 1 Operations

    Operation

    Setup

    Description

    Setting a time range

    Date

    Click to select the date and time.

    Viewing log files

    Clear

    Click Clear to clear the logs displayed on the screen. This operation clears only the logs displayed on the screen but does not delete them.

    Viewing real-time logs

    The function of real-time monitoring is disabled by default. To enable it, click Enable Real-Time Viewing. After this function is enabled, the latest written logs can be viewed.

    For real-time log viewing, AOM automatically highlights exception keywords in logs, facilitating fault locating. Such keywords are case-sensitive. For example, when you enter format to search, format in logs will be highlighted, but Format and FORMAT will not.

  5. (Optional) Click Configure Dumps in the Operation column of the target instance to dump its logs to the same log file in the OBS bucket at a time. For details, see Adding One-Off Dumps.