Reduce email alerts from CDN traffic filter rules in AEM as a Cloud Service

Adobe Experience Manager as a Cloud Service (AEMaaCS) CDN may generate multiple email notifications when a traffic filter rule configured with alert: true repeatedly matches requests because alerts aren’t consolidated. To resolve the issue, review the affected rules in cdn.yaml, adjust the rate-limit parameters to reduce alert frequency, deploy the configuration, and monitor the resulting notifications.

Description description

Environment

Adobe Experience Manager as a Cloud Service (AEMaaCS) CDN (all versions)

Issue/Symptoms

  • Multiple email alerts are received within a short period for the same traffic filter rule configured with alert: true.
  • Repeated alerts for the same logical condition create notification noise.

Root cause

When a CDN traffic filter rule is configured with alert: true, AEM generates an individual email notification each time the rule matches a request. There is currently no built-in mechanism to batch or consolidate multiple triggers from the same rule into one email. Alerts aren’t grouped by rule, time window, or environment.

Resolution resolution

Follow the steps below to resolve the issue.

  1. Review the CDN traffic filter rules in the cdn.yaml configuration and identify the rules that generate frequent alerts.

  2. To reduce alert frequency while maintaining blocking behavior, adjust the rate-limit parameters for the affected rule:

    • Increase the window value to allow more time before the alert triggers again.
    • Increase the limit threshold to require more matching requests before an alert is sent.
    • Review the penalty parameter as part of the rate-limit configuration.
    • Save and deploy the updated cdn.yaml configuration.
  3. Monitor email notifications and verify that the alert frequency decreases while the blocking action remains in effect.

recommendation-more-help
experience-cloud-kcs-help-kbarticles