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

Viewing Alarms

You can configure keyword alarm rules to query and monitor log data. When alarm rules are met, alarms will be triggered. You can view the alarms on the LTS console.

Prerequisites

You have created an alarm rule.

Procedure

  1. Log in to the LTS console, and choose Alarms in the navigation pane.
  2. Click the Alarms tab. The alarms generated in 30 minutes from now and their trend charts are displayed by default.
  3. Set criteria to search for your target alarms.

    • In the search box in the upper part of the page, select a log group, log stream, and alarm severity.
    • Set a time range. By default, 30 minutes is specified (relative time from now).
      There are three types of time range: relative time from now, relative time from last, and specified time. Select a time range as required.
      • From now: queries log data generated in a time range that ends with the current time, such as the previous 1, 5, or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from now, the charts on the dashboard display the log data that is generated from 18:20:31 to 19:20:31.
      • From last: queries log data generated in a time range that ends with the current time, such as the previous 1 or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from last, the charts on the dashboard display the log data that is generated from 18:00:00 to 19:00:00.
      • Specified: queries log data that is generated in a specified time range.

  4. Click after you set the search criteria. The details and trend of the alarms that match the criteria will be displayed.
  5. You can point to the Details column of an alarm on the Active Alarms tab to view the complete alarm details. Alternatively, click the name in the Alarm Name column of an alarm. Details about the alarm are displayed in the right panel that pops up.

    After the reported fault is rectified, you can click the deletion button in the row that contains the corresponding alarm on the Active Alarms tab to clear the alarm. The cleared alarm will then be displayed on the Historical Alarms tab.

    If you have configured search criteria to filter alarms, you need to manually refresh the alarm list. To enable automatic refresh, click in the upper right corner and select Refresh Every 30s, Refresh Every 1m, or Refresh Every 5m from the drop-down list box. You can still manually refresh the alarm list when automatic refresh is enabled by selecting Refresh Now from the drop-down list box.