Viewing Logs in Real Time

You can view the logs reported to the LTS console in real time.

Prerequisites

  • You have created log groups and log streams.
  • You have installed ICAgent.
  • You have configured log collection rules.

Procedure

  1. Log in to the LTS console and choose Log Management.
  2. In the log group list, click the name of a log group.
  3. In the log stream list, click the name of a log stream.
  4. On the log stream details page, click the Real-Time Logs tab to view logs in real time.
    Figure 1 Viewing logs in real time

Logs are reported to LTS every 5 seconds. You may wait for up to 1 minute before the logs are displayed.

You can control log display by clicking Clear or Pause in the upper right corner.
  • Clear: Displayed logs will be cleared from the real-time view.
  • Pause: Loading of new logs to the real-time view will be paused.

    After you click Pause, the button changes to Continue. You can click Continue to resume the log loading to the real-time view.

Stay on the Real-Time Logs tab to keep updating them in real time. If you leave the Real-Time Logs tab, log events will stop being loaded in real time. The next time you access the tab, the log events that were shown before you left the tab will not be displayed.