Filtering events
To prioritize and quickly take action on events, you can use the built-in filters or you can create your own custom filters for advanced options.
You can use the following types of filters:
Filter type | Description |
---|---|
Quick and easy way to filter events by severity and status | |
Filter events based on when they occurred | |
For advanced filtering like viewing events from specific devices, groups, or applications |
Quick filters
The quick filters provide an easy way to filter events.
Event status row : Select the event status that you want to view. You can select more than one event status. To consider all events, irrespective of status, clear all the event status boxes.
Event severity row : Select the event severity that you want to view. You can select more than one event severity. To consider all events, irrespective of severity, clear all the event severity boxes.
To save and restore your quick filters preference
- Select the desired event status and event severity.
- From the Events action menu, select Save As Preference
.
The quick filters settings are saved and retained. Every time you log in to the Operations Management console and navigate to the Events page, the saved quick filters setting is applied. To restore the default quick filters, select Restore Default Filters
.
Time filters
The time filter lets you filter events based on when they occurred.
Predefined time periods : You can select a time period from the list and events that have occurred during the selected time period are displayed.
Custom time period : You can create a custom time period for which to filter events.
To create a custom time period
- From the time filter menu
, select Define Period.
- Choose the start and end date and time.
- Select Apply.
- Select the custom time period that now appears in the time filter menu.
Custom filters
For advanced filtering options like viewing events from specific devices, you can create custom filters.
Performing operations on custom filters
To create custom filters
- From the Events action menu, select Create Custom Filter
.
- Select one or more event status and severity.
Filtering is disabled if you do not select any event status or severity, and events with any status or severity are considered. Select any one of the applications, groups, or devices category. Use the drop-down box of the selected category to select one or more items.
- (Optional) To add advanced filtering options, select the Add Advanced Filter check box. See Advanced filtering for more information.
Click Apply to apply the custom filter.
- From the Events action menu, select Save As New Filter
to save the custom filter.
- Enter the custom filter name and click OK.
Advanced filtering
- From the Class list, select a class.
The sub-classes for the selected class are automatically selected. - To filter events according to one or more event attributes, specify the following information for each attribute:
- (Optional) Select a left parenthesis or a NOT condition.
- Select an event attribute.The [confluence_note] macro is a standalone macro and it cannot be used inline.
- Select a comparison operator.
- Enter a value against which you want the filter to compare.
- (Optional) Select a right parenthesis.
- To add another filter condition (event attribute), click
- Select a logical operator, AND or OR.
- Repeat step a through step g to add as many filter conditions as you want.
- To remove a filter condition, click
in the corresponding filter condition row.
Comparison operators
Operator | Description | Slot types | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
== | Events are listed only if the slot value matches the comparison value. | Enum, String, Number, List of String | ||||||||||||||||
!= | Events are listed only if the slot value does not match the comparison value. | Enum, String, Number, List of String | ||||||||||||||||
> | Events are listed only if the slot value is greater than the comparison value. | Enum, String, Number | ||||||||||||||||
< | Events are listed only if the slot value is less than the comparison value. | Enum, String, Number | ||||||||||||||||
>= | Events are listed only if the slot value is greater than or equal to the comparison value. | Enum, String, Number | ||||||||||||||||
<= | Events are listed only if the slot value is less than or equal to the comparison value. | Enum, String, Number | ||||||||||||||||
Has prefix | Events are listed only if the slot value starts with the comparison value. | String, Number | ||||||||||||||||
Has suffix | Events are listed only if the slot value ends with the comparison value. | String, Number | ||||||||||||||||
Contains | Events are listed only if the slot value contains the comparison value. | String, Number, List of String | ||||||||||||||||
Within | Events are listed only if the slot value is an exact match with one of the comma-separated list of comparison values. | String, Number, List of String | ||||||||||||||||
Contains one of | Events are listed only if the slot value is an exact match with one of the comma-separated list of comparison values. | String, Number, List of String | ||||||||||||||||
Outside | Events are listed only if the slot value does not match with any of the comma-separated list of comparison values. | String, Number | ||||||||||||||||
Matches | Events are listed only if the slot value contains the comparison value. You can provide the following parameters in addition to the comparison value: Consider the following example values in the message slot of eight events:
When you use the matches operator for the message slot:
| String, List of String | ||||||||||||||||
Subclass of | Events are listed only if they are a subclass or child class of the provided class. | Class | ||||||||||||||||
Superclass of | Events are listed only if they are a super-class or parent class of the provided class. | Class |
To apply custom filters
- From the Events action menu, select View Saved Filters
.
The list of saved custom filters is displayed. - Select a custom filter from the list.
To perform operations on custom filters
- From the Events action menu, select View Saved Filters
.
The list of saved custom filters is displayed. - From the action menu for the custom filter, you can edit, rename, or delete the custom filter.
Related topics