This topic describes how to troubleshoot common issues that may occur when you use the log monitoring feature.

Procedure

  1. An error is reported on the Log Monitoring page when you create a log monitoring metric.
    The error is reported because your AccessKey pair is in the Disabled state. To resolve this issue, perform the following steps:
    1. Use your Alibaba Cloud account to log on to the console.
    2. In the upper-right corner of the page, move the pointer over the profile picture and click AccessKey Management.
    3. In the Note message, click Use Current AccessKey Pair.
    4. On the AccessKey Pair page, find the AccessKey pair that you want to enable and click Enable in the Actions column.
    5. In the Enable message, click Enable.
  2. A log monitoring metric is created but no data is available in the monitoring chart of the metric.

    If no data is available in the monitoring chart, the related alert rule does not work due to insufficient data.

    • On the Log Monitoring page, find the metric that you want to manage and click Edit in the Actions column. In the Select SQL section, check whether the generated SQL statement contains Chinese characters.
      Note SQL statements cannot contain Chinese characters.
    • Make sure that log data can match the Statistical Method and Log Filter parameters that you specified for the metric.
      • On the Log Monitoring page, find the metric that you want to manage and click Edit in the Actions column. In the Preview section, check whether matched log data exists. You can view the log data of the last hour.
      • To view more matched log data, log on to the Log Service console.
  3. The metric value reaches the specified threshold value but no alert notification is received.
    Check whether alert notifications of the alert rule are muted. By default, the mute period is 24 hours.
    • If an alert is triggered within the mute period, CloudMonitor does not resend alert notifications.
    • If the alert is not cleared after the mute period ends, CloudMonitor resends alert notifications.