- attributes-match {
-
event1.attribute-name equals event2.attribute-name;
-
event.attribute-name matches regular-expression;
-
event1.attribute-name starts-with event2.attribute-name;
- }
- [edit event-options policy policy-name]
Statement introduced in JUNOS Release 7.5.
Execute the policy only if the attributes of two events are correlated or if the attribute of one event matches a regular expression.
If the attributes-match statement includes the equals or starts-with options, or if it includes a matches option that includes a clause for an event that is not specified at the [edit event-options policy policy-name events] hierarchy level, you must include one or more within statements in the same policy configuration.
The statements are explained separately.
See Correlating Events.
maintenance—To view this
statement in the configuration.
maintenance-control—To
add this statement to the configuration.