Stop
| Syntax | Description |
|---|---|
stop | Terminates further alert rule processing when triggered. Any rules defined after it are skipped. |
- Prevent events from matching later rules which may conflict with alerting behaviour
Example
- Alert on Ping events from the
Ciscogroup. Other Ping events are logged by calling a custom site-scriptalert_log_event. If thestopaction is triggered, the rule at the bottom is skipped.
* * ping4 PING.icmpState any group Cisco = email NetEng
* * ping4 PING.icmpState any group Cisco = stop
* * ping4 PING.icmpState = call alert_log_event