Management and Configuration Guide K/KA/KB.15.15

Example
Figure 216 Specifying the Criteria for a Filter and then Enabling the Filter
1. The filter named SevWarnFatal adds a sub-filter of the severity type, with a sequence number
of 10. The sub-filter specifies that a match for an event log message with a severity of warning
will be logged.
2. The second sub-filter has a sequence number of 20 and a severity type of major. The sub-filter
specifies that a match for an event log message with a severity of “major” will be logged.
3. The default sub-filter, which is created automatically at the time of filter creation, is always the
last entry in the filter module. It matches “anything” and cannot be changed. You can change
the actions to either permitor deny. This example specifies that any message that did not meet
the prior matching criteria will not be logged.
4. The last command enables the filter named SevWarnFatal. If there was another filter enabled,
this filter automatically replaces it and the other filter is disabled.
Example
Figure 217 Specifying the Criteria for a Filter named noUpDownEvents and then Enabling the Filter
1. The filter named noUpDownEvents adds a sub-filter with a type of event-num, and a sequence
number of 10. The sub-filter specifies that a match for an event log message with an event
number of “76” will not be logged.
2. The second sub-filter has a sequence number of 20 and a type of event-num. The sub-filter
specifies that a match for an event log message with an event number of “77” will not be
logged.
3. The default sub-filter, which is created automatically at the time of filter creation, is always the
last entry in the filter module. It matches “anything” and cannot be changed. You can change
the actions to either permit or deny. This example specifies that any message that did not meet
the prior matching criteria will be logged.
4. The last command enables the filternamednoUpDownEvents. If there was another filter enabled,
this filter automatically replaces it and the other filter is disabled.
Example
Figure 218 Specifying the Criteria for a Match using a Regular Expression and then Enabling the
Filter
420 Troubleshooting