Creating and enabling event policies
To learn how to create some of these policies with examples, see the following topics:
To create an event policy
- Select Configuration > Event Policies and click Create.
- Specify a unique name, optional description, and precedence number for the policy.
Create the event selection criteria based on which the policy is applied to the events.
For more information about the event selection criteria, see Event-selection-criteria.- Select the time frame for which the policy should be active. You can create a new time frame or associate an existing time frame with an event policy.
The Always active option is the default option, which means that the policy is always active unless you select a time frame. See Setting-event-policy-schedules-by-using-time-frames. Select one or more of the following policy types and configure them:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
The configured policy types are displayed in the policy evaluation order irrespective of the order in which they were configured. To know more about the policy evaluation order, see Event-policy-types-and-evaluation-order.
You can set up multiple configurations for certain policy types. Each configuration is displayed as a policy card as shown in the following image. Reorder the policy cards by dragging and dropping them to change the configuration execution order within a specific policy type.- Use the icons to edit or delete the configured policy types.
- (Optional) Select Enable Policy.
You can enable or disable the policy any time from the Event Policies page. - Save the policy.
To search policies, type the policy name in the Search box . Click Refresh
to refresh the Event Policies page.
You can also import and export event policies. Click Export to export event policies and Import to import event policies. For more information, see Migrating-event-policies-between-tenants.
To edit an event policy
On the Configuration > Event Policies page:
- Do one of the following actions:
- Select the policy and click Edit.
- From the Actions menu of a policy, select Edit.
- Edit the policy and save the changes.
To copy an event policy
On the Configuration > Event Policies page:
- Click the action menu of the policy that you want to copy and select Copy.
The Create Event Policy page is displayed with the configurations of the copied policy. - Modify the configurations according to your requirements to create a new policy quickly.
To view the list of event policies
On the Configuration > Event Policies page, view the list of event policies.
By default, the policies are sorted by Name. To sort on a different column, click the column heading.
A maximum of 1000 policies are displayed on the Event Policies page.
To enable or disable an event policy
On the Configuration > Event Policies page, do one of the following actions:
- Select the policy and click Enable or Disable.
- From the Actions menu of a policy, select Enable or Disable.
- Edit the policy and select or clear the Enable Policy check box.
To delete an event policy
On the Configuration > Event Policies page, do one of the following actions:
- Select one or more policies, click Delete, and click Yes.
- From the Actions menu of a policy, select Delete, and click Yes.
To audit user actions on an event policy
As a tenant administrator, use the BMC Helix Audit Dashboard in BMC Helix Dashboards to view the audit trail of activities that users perform on event policies. You can audit the following activities on an event policy:
- Create an event policy
- Update an event policy
- Delete an event policy
- Enable an event policy
- Disable an event policy
For more information, see Auditing configuration changes in BMC Helix Dashboards.
The following image displays the audit trail of event policies in the BMC Helix Audit Dashboard. Note that the selected resource type is Event Policy. Click the link in the Operation column to view the values before and after you perform an activity on an event policy.
To view the execution order of event policies
- Select Configuration > Event Policies and click Policy Execution Order
.
- Select one of the following options:
For new events is selected by default.- For new events
This option displays the policy execution order for new or incoming events. For new events, you can view the policy execution order for the following phases:- Refinement
- Basic Enrichment
- Suppression
- Time Based
- Advanced Enrichment
- Correlation
- Notification
- For old events
This option displays the policy execution order for old or existing events. For old events, you can view the policy execution order for the following phases:- Advanced Enrichment
Only for advanced enrichment policies that have the Trigger-If action configured. - Notification
- Notification (Email): Only if the status or severity slots are selected or both slots are selected in the policy.
- Notification (Incident)
- Advanced Enrichment
- For new events
In Event Policy Execution Order Preview, click the policy phase expander to view the execution order for an event policy and click the policy name expander to view the execution order of policy configurations in an event policy.
Scenario
Policy execution order rule
Across policies
Sorted and grouped by the event policy phases.
Within a phase
Sorted by the precedence. If the precedence is the same, then sorted by the event creation time in descending order.
Within a policy
Sorted by the order of the policy configurations.
- (Optional) In the Search box, type a policy name to filter the policy preview.
The policy execution order is displayed only for policies that you have enabled. In the preview, event policies are sorted by the policy type first and then by the precedence.
Refer to the following example to understand the policy execution order for the list of policies:
If you create a policy by using APIs, make sure that you update the Event Policies page to view the updated policy execution order.