All Products
Search
Document Center

Simple Log Service:Silence policies

Last Updated:Jul 30, 2024

If you configure a silence policy, the alert management system does not send alert notifications during the specified period for alerts that meet the specified conditions. For example, you can silence alert notifications if the alerts are triggered during the maintenance of the test environment and the alerts have the env=test label. This topic describes how silence policies work.

Note

You can specify a silence policy when you configure an alert policy. Then, alerts that use the specified alert policy are silenced if the alerts meet the specified silence conditions.

The following three examples help you understand how a silence policy takes effect.

  • The silence policy takes effect before an alert notification is sent.

    Before an alert notification is sent, the alert management system filters the alerts in a merge set based on the specified silence policy. If an alert meets the condition of the silence policy, the alert notification is not sent. For example, the alert management system filters out Alert 1 that has the env=test label based on the silence policy and sends only alert notification for Alert 2. The following figure shows how the silence policy works.Silence policy 1

  • The silence policy expires before an alert notification is sent.

    If the specified silence policy expires before an alert notification is sent, the alert management system ignores the policy for alerts that have the env=test label. Alert notifications for Alert 1 and Alert 2 are both sent. The following figure shows how the silence policy works.Expiration

  • The silence policy is deleted before an alert notification is sent.

    If the specified silence policy is deleted before an alert notification is sent, the alert management system ignores the policy for alerts that have the env=test label. Alert notifications for Alert 1 and Alert 2 are both sent. The following figure shows how the silence policy works.Silence policy 3