matches (Event Policy)
Syntax
event.attribute-name matches regular-expression;
Hierarchy Level
[edit event-options policy policy-name attributes-match]
Description
Configure an event policy to trigger only if the specified attribute of
event matches
the regular expression. The referenced event must be either the
trigger event or a correlating event included in the event policy’s
within statements.
An attributes-match statement can include multiple
comparison statements. The system evaluates multiple comparison
statements using a logical AND operator. Thus, to execute the event
policy, all of the attributes-match conditions must
evaluate to true.
Options
| event.attribute-name | Event attribute to compare to a regular expression. |
| regular-expression | Regular expression to compare. |
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 7.5.