Parameter | Description |
Rule Name | Specify the name of the alert rule. |
Check Frequency | Specify the frequency at which query and analysis results are checked. Valid values: Hourly: Query and analysis results are checked every hour. Daily: Query and analysis results are checked at a specified point in time every day. Weekly: Query and analysis results are checked at a specified point in time on a specified day of each week. Fixed Interval: Query and analysis results are checked at a specified interval. Cron: Query and analysis results are checked at an interval that is specified by a cron expression. Note The minimum precision for a cron expression in the alert rules of Simple Log Service is one minute, and the format follows the 24-hour convention. For example: 0/5 * * * * : Starts from the 0th minute and checks every 5 minutes.
0 0/1 * * * : Starts from 00:00 and checks every hour.
0 18 * * * : Checks every day at 18:00.
0 0 1 * * : Checks at 00:00 on the 1st day of every month.
For more information about the syntax of cron expressions, see Cron expressions. A cron expression can specify an interval that is accurate to the minute. The cron expression is based on the 24-hour clock. For example, 0 0/1 * * * specifies that query and analysis results are checked at an interval of 1 hour from 00:00.
|
Query Statistics | Click the input box. In the Query Statistics dialog box, configure query statement-related settings. If you specify multiple query statements, you can configure the Set Operations parameter to associate the query and analysis results of the statements. For more information, see Specify query statements. |
Group Evaluation | Simple Log Service can group query and analysis results. For more information, see Use the group evaluation feature. Valid values: Custom Label: Simple Log Service groups query and analysis results based on the fields that you specify. After Simple Log Service groups the query and analysis results, Simple Log Service checks whether the query and analysis results in each group meet the trigger condition. If the query and analysis results in each group meet the trigger condition in each check period, an alert is triggered for each group. You can specify multiple fields. No Grouping: Only one alert is triggered in each check period when the trigger condition is met. Auto Label: If you select Metricstore from the Type drop-down list in the Query Statistics dialog box, Simple Log Service automatically groups query and analysis results. A value of Metricstore specifies that the query and analysis results of metrics are monitored. After Simple Log Service groups the query and analysis results, Simple Log Service checks whether the query and analysis results in each group meet the trigger condition. If the query and analysis results in each group meet the trigger condition in each check period, an alert is triggered for each group.
|
Trigger Condition | Specify the trigger condition and severity of an alert. For more information about the syntax of conditional expressions in alert rules, see Syntax of trigger conditions in alert rules. |
Add Label | Simple Log Service allows you to add labels as identifying attributes to alerts. Labels are in the key-value pair format. This parameter is used to denoise alerts and manage alert notifications. You can add label-based conditions when you create an alert policy or an action policy. For more information, see Add labels and annotations. |
Add Annotation | Simple Log Service allows you to add annotations as non-identifying attributes to alerts. Annotations are in the key-value pair format. This parameter is used to denoise alerts and manage alert notifications. You can add annotation-based conditions when you create an alert policy or an action policy. For more information, see Add labels and annotations. If you turn on Auto-Add Annotations, fields such as __count__ are automatically added to alerts. For more information, see Automatic annotations. |
Recovery Notifications | If you turn on Recovery Notifications, a recovery alert is triggered each time an alert is cleared. For example, an alert rule is created to monitor the CPU metrics of each host. If the CPU utilization of a host exceeds 95%, an alert is triggered. Then, if the CPU utilization decreases to 95% or less, a recovery notification is sent. For more information, see Configure recovery notifications. |
Advanced Settings > Threshold of Continuous Triggers | Specify the threshold at which an alert is triggered. If the number of consecutive times that the specified trigger condition is met reaches the value of this parameter, an alert is triggered. The system does not count the number of times when the specified trigger condition is not met. |
Advanced Settings > No Data Alert | If you turn on No Data Alert, an alert is triggered when the number of times that no data is returned exceeds the value of Threshold of Continuous Triggers. If multiple query statements are executed, the number of times is counted based on the associated query and analysis results of the query statements. For more information, see No-data alert. |
Destination | Specify the location to which alerts are sent. You can specify one or more locations. Valid values: Eventstore: Alerts are sent to a specified Eventstore. CloudMonitor Event Center: Alerts are sent to the Event Center of CloudMonitor. Then, CloudMonitor manages the alerts and sends alert notifications. Simple Log Service Notification: Alerts are sent to the notification feature of Simple Log Service. Then, Simple Log Service manages the alerts based on the specified alert policy and action policy.
|
Destination - Eventstore | Enable: If you turn on Enable, alerts are sent to the Eventstore that you specify. Region: the region of the Eventstore to which alerts are sent. Project: the project of the Eventstore to which alerts are sent. Eventstore: the Eventstore to which alerts are sent. Authorization Method Default Role: Click Authorize. Then, follow the on-screen instructions to complete authorization. This way, the AliyunLogETLRole system role is assumed to send alerts to the Eventstore. For more information, see Default role. Custom Role: A custom role is assumed to send alerts to the Eventstore. Enter the Alibaba Cloud Resource Name (ARN) of the custom role. For more information, see Custom role.
|
Destination - CloudMonitor Event Center | |
Destination - Simple Log Service Notification | |