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:
- Configure Cloudflare notifications
- Configure PagerDuty
- Configure webhooks
- Test a notification
- Notification History
| Field | Description |
|---|---|
| Notification name | A label to identify this notification in your notifications list. |
| Description (optional) | The description of the notification. |
| Webhooks | One or more webhooks to deliver the notification to. |
| Notification email | One or more email addresses to deliver the notification to. |
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.
To configure notifications for Network Flow rules:
- In the Cloudflare dashboard, go to the Notifications page.
- Select Add.
- Select Magic Transit from the product drop-down menu.
- 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
- Fill in the notification configuration details.
- Select Save.