Creating dynamic event groups
Event groups are sets of events that are organized in meaningful groups for better manageability. Dynamic event groups are set of events that are created dynamically based on event slot that you specify. The event groups are created based on the unique values of the selected event slot. You can also provide certain criteria or conditions. These conditions act as filters on events.
Dynamic event groups are displayed in or removed from the Event Groups page based on whether or not events, that meet the criteria specified while creating a dynamic group, are present.
Best practice
- To mitigate performance impact, observe the following guidelines:
- Do not create more than three levels in an event group hierarchy.
- Ensure to create a dynamic event group definition in such a way that the total number of dynamic event groups generated is equal to or less than 500
- When creating an event group, avoid complex pattern-matching conditions on slot contents and use narrowly-defined classes rather than complex Where clauses.
- When deciding a hierarchy:
- Avoid a dynamic event group as a parent and static event group as a child.
- Do not add the same dynamic event group definition twice in the hierarchy. For example, avoid the following hierarchy: Group By Status > Group By Severity > Group By Status.
To create a dynamic event group
- Log on to the TrueSight console.
- In the navigation pane, expand Monitoring and select Events.
- In the Events page, click the View event groups icon .
- In the Event Groups page, click the main action menu and select Create Dynamic Event Group. The Create Dynamic Event Group page is displayed.
- Specify a name for the dynamic event group.
- Select a parent for the dynamic event group. By default, Event Groups is the root or topmost level of event group.
Click Select Parent Group.
Navigate through the hierarchy of event groups and select the event group that you want to set as parent and click OK.
Select the Table View if you want to associate the table view with this event group. By default, the Basic Information table view is associated.
Note
User defined table views cannot be associated with the event groups.
Specify the filtering criteria for the event group:
- From the Class list, select the type of event.
- Select the event attributes and comparison operators that are listed in Slots.
Note
Filtering criteria that are associated with the parent event group are already applied to the child event group. The inherited criteria is displayed in gray color.
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 displayedSLOT_DISPLAY_NAME =
Name of the event attribute that you want to replace the internal name with4. Repeat the earlier step for all the event attributes that you want to add.
5. Restart the Presentation Server.
Specify the event group name criteria. Select the slot from the Slot Name list.
For more information about event classes and slots, see How event classes are structured .Best practice
When creating the dynamic event group, select the appropriate slot name based on which you want the meaningful event groups to be created.Click OK. In the tile view, the dynamic event groups are marked with a star on the header. In the table view, the dynamic event group is marked with a star (*) and includes the dynamic event group definition name in a bracket. If there are no events that meet the criteria specified while creating a dynamic group, the dynamic event group will not be displayed. It will appear when you have matching events.
If you select the topmost level of the event groups, Event Groups, as a parent, it is displayed as [None] in the event group's tile.
To modify, view, or delete a dynamic event group
To modify, view, or delete the dynamic event group, see Managing event groups from the TrueSight console.
Where to go from here
Comments
Log in or register to comment.