The following video (4:04) illustrates how to create custom filters.
From the Events action menu, select Create Custom Filter
Note:
If your event source is a remote cell (indicated by the icon on the Events page), then the following filtering categories are not available in the custom filter:
Also, only the event classes and slots that are defined in the Infrastructure Management Server cells are available for filtering.
Select any one of the applications, groups, devices, or services category. Use the drop-down box of the selected category to select one or more items.
Notes
Click Apply to apply the custom filter.
Note
The custom filter is applied but not saved. To make changes to the custom filter before saving it, select Create Custom Filter
.Ensure to save the custom filter before you navigate to a different page or restore default filters.
(Optional) Select a left parenthesis or a NOT condition.
Select an event attribute.
Note
For some event attributes, the internal names are displayed. For example, error_message, error_val
.
If you want to view the display name for an event attribute, you need to add the attribute to the en.json file:
1. Open the en.json file from the <installationDirectory>\TrueSightPServer\truesightpserver\modules\tomcat\webapps\infraApp\WEB-INF\classes folder.
2. Go to the end of the file and add a comma after the last line of code and press ENTER.
3. Add information for the event attribute in the following format: eventView.slot.<CLASS_NAME>.<SLOT_NAME>=<SLOT_DISPLAY_NAME>
where, CLASS_NAME =
Event class name of your event attribute (slot)
SLOT_NAME =
Internal name of the event attribute that is currently displayed
SLOT_DISPLAY_NAME =
Name of the event attribute that you want to replace the internal name with
4. Repeat the earlier step for all the event attributes that you want to add.
5. Restart the Presentation Server.
Select a 749294593.
Note
To add another filter condition (event attribute), click
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 | ||||||||||||||||
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 | ||||||||||||||||
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 |
Select a custom filter from the list.