Consider the following factors for determining your triggering options:
The minimum threshold value you can set is 1.
Triggering actions on every or subsequent occurrence can quickly use up resources. Use these options conservatively.
For threshold-based triggers, only a single correlation event is triggered on receipt of any single incoming event, even if that event has an aggregated event count high enough to trigger multiple firings. This is by design to prevent excessive firings. For example, if a rule has a threshold of 10, an event with an aggregated event count of 200 triggers only one rule firing (not 20).
Trigger |
Threshold |
---|---|
On First Event |
The first time rule conditions are met, overriding aggregation threshold settings. This is the default trigger. |
On Subsequent Events |
The second and subsequent times rule conditions are met (not the first), overriding aggregation threshold settings. |
On Every Event |
Every time rule conditions are met, overriding aggregation threshold settings. Note: This is the only trigger available for lightweight and pre-persistence rules. |
On First Threshold |
For the number of matches greater than 1, the first time rule conditions and threshold settings are met. |
On Subsequent Thresholds |
For the number of matches greater than 1, the second and subsequent times rule conditions and threshold setting are met, not the first. |
On Every Threshold |
Every time rule conditions and threshold settings are met. |
On Time Unit |
Defines an action to take if the given threshold is met in the specified number of minutes specified. (When: On Time Unit: Every <NumberOfMinutes>). Notes:
|
On Time Window Expiration |
Expiration time of threshold settings When the On Time Window Expiration (OTWE) trigger is activated, it includes an option to display a cumulative rule chain (a summary of triggered rules) at the end of the triggered rules list. By default, the cumulative rule chain option on an activated OTWE trigger is off. To toggle the option between On and Off, right-click the active OTWE trigger and select On or Off on the cumulative rule chain option as needed.
When an OTW trigger activates a rule, a correlation event is generated. If the cumulative rule chain option is on, the correlation event contains all the base events from the first threshold to the time window expiration. If the cumulative rule chain option is off, the generated correlation event contains events from the last threshold to the time window expiration. Limitation: Unique aggregation does not work with the On Time Window Expiration trigger if cumulative rule chain set to on. See Setting or Changing Rule Thresholds for information on unique aggregation in rules. |