Skip to content

Configure rule notifications

Network Flow (formerly Magic Network Monitoring) can notify you by email, webhook, or PagerDuty when a rule is triggered. When a rule detects a traffic anomaly, notifications alert your team so you can respond — or, if you use Magic Transit with auto-advertisement, Cloudflare can begin mitigating the attack automatically.

For more information on the notification platform, refer to Notifications documentation. You can also:

Notification configuration fields

FieldDescription
Notification nameA label to identify this notification in your notifications list.
Description (optional)The description of the notification.
WebhooksOne or more webhooks to deliver the notification to.
Notification emailOne or more email addresses to deliver the notification to.

Rule Auto-Advertisement notifications

Webhook, PagerDuty, and email notifications are sent following an auto-advertisement attempt for all prefixes inside the flagged rule.

You will receive the status of the advertisement for each prefix with the following available statuses:

  • Advertised: The prefix was successfully advertised.
  • Already Advertised: The prefix was advertised prior to the auto advertisement attempt.
  • Delayed: The prefix cannot currently be advertised but will attempt advertisement. After the prefix can be advertised, a new notification is sent with the updated status.
  • Locked: The prefix is locked and cannot be advertised.
  • Could not Advertise: Cloudflare was unable to advertise the prefix. This status can occur for multiple reasons, but usually occurs when you are not allowed to advertise a prefix.
  • Error: A general error occurred during prefix advertisement.

Configure rule notifications

To configure notifications for Network Flow rules:

  1. In the Cloudflare dashboard, go to the Notifications page.
Go to Notifications
  1. Select Add.
  2. Select Magic Transit from the product drop-down menu.
  3. Find the appropriate Network Flow alert and select Select:
    • Network Flow: Volumetric Attack - for static threshold and dynamic threshold notifications
    • Network Flow: DDoS Attack - for sFlow DDoS attack notifications
  4. Fill in the notification configuration details.
  5. Select Save.