[Contents] [Prev] [Next] [Index] [Report an Error]

attributes-match

Syntax

attributes-match {
event1.attribute-name equals event2.attribute-name;
event.attribute-name matches regular-expression;
event1.attribute-name starts-with event2.attribute-name;
}

Hierarchy Level

[edit event-options policy policy-name]

Release Information

Statement introduced in JUNOS Release 7.5.

Description

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.

Usage Guidelines

See Correlating Events.

Required Privilege Level

maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]