--- title: Create Enrich automation description: Alert enrichment involves transforming raw events from monitoring tools into a standard format, aiding automated grouping and response. This includes extracting fields from lengthy alert payloads or composing them into a standardized format. Additionally, you can create tags, which are metadata added to alerts for easier filtering and grouping. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/event-management/enrich-alert-sow-itom.html release: australia product: Event Management classification: event-management topic_type: task last_updated: "2026-03-12" reading_time_minutes: 12 breadcrumb: [Alert automation in SOW for ITOM, Event Management, ITOM AIOps, IT Operations Management] --- # Create Enrich automation Alert enrichment involves transforming raw events from monitoring tools into a standard format, aiding automated grouping and response. This includes extracting fields from lengthy alert payloads or composing them into a standardized format. Additionally, you can create tags, which are metadata added to alerts for easier filtering and grouping. ## Before you begin Role required: evt\_mgmt\_admin, evt\_team\_operator, or srm\_responder ## About this task Extracting takes values from event payload fields and places them in alert output fields, while composing combines multiple alert fields into one. For more information, see [Extracting and composing alert fields](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/extract-compose-fields.md). For users familiar with the classic Event Management experience, enrich automations create event rules but with an easier interface and with better teams support. Event rules offer a few advanced features like thresholds and CI identification using IRE that are not yet available in enrich automations. Admins may also enrich alerts with event field mapping rules. Changing alert values creates an event field mapping rule with the mapping type **Map field and transform value \(Single field\)**. This rule is linked to the event rule and runs simultaneously, allowing for streamlined mapping and transformation of event data to enrich alerts. ## Procedure 1. Navigate to **Workspaces** > **Service Operations Workspace**. 2. From the navigation pane, select the AIOps configuration center icon \[Omitted image "icon-itom-aiops-config.png"\] Alt text: ITOM AIOps configuration center icon. The ITOM AIOps configuration center page appears. The configuration center is a centralized workspace. Use it to configure and manage AIOps features from a single place. 3. On the ITOM AIOps configuration center page, under the Optimize section, select **Enrich alerts**. The Enrich alerts page is displayed. \[Omitted image "enrich-automation-page.png"\] Alt text: Enrich automation page 4. Select **Create automation**. By default, the **Active** check box is selected. 5. In the **Automation name** field, enter the name of the automation for enriching alerts. 6. In the **If these conditions are met** section, set up filter criteria to identify the alerts you want to enrich. The condition is evaluated against the raw event received from the source monitoring system and does not account for enriched fields. 1. From the **Assignment group** field menu, select the assignment group to determine which team’s alerts will trigger the automation. The **Assignment group** represents a specific team responsible for handling certain alerts. By selecting an assignment group, you ensure that only the alerts assigned to that particular team will trigger the automation. This way, the automation is targeted and only activates for relevant alerts associated with the selected team. **Note:** - If you’re logged in to the instance with an administrator role \(evt\_mgmt\_admin\), all of the assignment groups are available. Additionally, you can select **All groups** to enable generating alerts for any of the available groups. - If you’re an team operator, only the groups you’re a member of are available. - Only members of the selected group or administrators can update or delete the automation. 2. From the **Source** field menu, select the monitoring tool from where the alert is generated. 3. Set up the conditions by selecting the field, operator, and field value. Then, add more conditions using OR or AND operators. When using time-based condition filters in Enrich/Event rules \(a filter that contains a time-based condition\), the value is saved as a static value. The time is evaluated in the system time zone of the instance, defined by the **glide.sys.default.tz** system property, which defaults to America/Los\_Angeles if left empty. \[Omitted image "enrich-automation-time-condition.png"\] Alt text: Condition based on time of event To add another set of conditions, select **+ New condition set**. You can also manually add an additional info field if you don’t see it in the drop-down list. **Note:** Select **Load past events** to view previous events when creating the automation. \[Omitted image "enrich-automation-conditions.png"\] Alt text: Enrich rule page where you can provide automation name, set conditions and actions. 7. In the **Then, apply the following actions** section, select the automation actions that will be triggered by this automation. You must select at least one action. - **Extract alert fields**: Retrieves alert field values from the event payload and places them in an alert output field. - **Copy or compose fields**: Merges various alert fields, tags and text to generate a composed alert output. - **Change alert values**: Maps the current value of alert fields to specified new values. - **Improve configuration item \(CI\) identification**: Identifies CIs other than a host for better alert grouping, team assignment, and service health.
| Option | Action |
|---|---|
| **__Extract alert fields__** | 1. Enable the **Extract fields** toggle switch. 2. From the **Extract from field** menu, select a value. The menu displays the standard event fields, additional info, and tags. The field value is then displayed. You can also manually enter a field name that is not displayed and add your own value. The example source events pane displays a sample of recent events in your system. If no events are displayed, you may create an event, see [Create or edit an event rule](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/create-or-edit-event-rule.md). 3. In the **Regular expression** field, create a regular expression to extract the value that you want to extract. **Note:** You can compose text using regular expression \(regex\) format conventions. Use one or more capture groups with parentheses to extract parts of the input. Capture groups in the regular expression are assigned to alert outputs based on the order in which they appear. The regex must match the entire input, so consider surrounding your regex with `.*` on each end. For example, `(\w+).acme.com.*` captures the host name in a fully qualified domain name. The parser for the regex engine is Perl Compatible Regular Expressions \(PCRE\) compatible. Nested JSON data is preprocessed to strip quotes and replace colons with equal signs. 4. In the **Alert output** field, select an alert field or an alert tag. You can also manually enter a new field name. If you want to add an alert tag, select the **Set as a tag** check box. **Tip:** Create alert tags that can be shared across sources for easier filtering and grouping, such as the out-of-the-box tags. \[Omitted image "sow-extract-alert-fields.png"\] Alt text: Extract alert fields 5. Select **Preview multiple events** to verify that the regular expression \(regex\) is general-purpose enough to correctly extract values across many examples. **Note:** This option is available only when example source events are available and matched with the regex filter. \[Omitted image "sow-preview-multiple-events.png"\] Alt text: Preview extracted values from multiple events To include additional fields for extraction, select **+ Add fields**. |
| **__Copy or compose fields__** | 1. Enable the **Copy or compose fields** toggle switch. 2. From the **Composition** field, select alert fields and/or alert tags, manually enter a field name or even add free text. Alert fields are displayed in the `${field}` syntax format. 3. In **Output to field**, select an existing alert field or alert tag, or manually enter an alert field. **Output to field** is an enriched alert containing the composed alert data. For easier grouping, you can select a tag from the menu. If you want to use the new field name as a tag for grouping, select the **Set as a tag** check box. **Tip:** Create alert tags that can be shared across sources for easier filtering and grouping, such as the out-of-the-box tags. \[Omitted image "sow-compose-alert.png"\] Alt text: Compose alert fields To create additional alert data compositions, select **+ Add fields**. |
| **__Change alert values__** | 1. Enable the **Change alert values** toggle switch. 2. In **Alert field to change values for** field, enter the field in the alert that you want to map values for. 3. In the **When value is** field, enter original value in the alert field that you want to change. 4. In the **Change it to** field, enter the new value that will replace the original value in the alert field. To add more field values, select **+ Add value** and to add more fields to map, select **+ Add field to map**. \[Omitted image "sow-change-alert-values.png"\] Alt text: Change values of a field to a format that is easier to read, filter, and group. |
| **Improve configuration item \(CI\) identification** | This option allows you to change how alerts are bound or linked to a Configuration Item \(CI\), ensuring alerts are associated with the correct IT components for better visibility and faster issue resolution. The default and most common way to bind alerts to CIs is based on the **Node** field. This works out of the box with no configuration needed. Use it by populating the **Node** field in your alert with a CI’s Name, Fully Qualified Domain Name \(FQDN\), IP, or MAC address. This supports host CIs including Computers, Operating Systems \(OS\), Switches, Routers, or any CI type or any class that extends the \[cmdb\_ci\_hardware\] table. You may enable this action to improve the CI identification for other types of CIs such as processes or service instances. The system searches for a matching CI in the appropriate CMDB table based on the selected CI type. For example, if you select VMware Virtual Machine Instance as the CI class, the system searches for a matching record in the \[cmdb\_ci\_vmware\_instance\] table using details from the event rule record, specifically the **Additional info** fields. \[Omitted image "enrich\_automation\_ci\_identification.png"\] Alt text: Improve configuration item \(CI\) identification section 1. Enable the **Improve configuration item \(CI\) identification** toggle switch. 2. **Select which CI class you’d like to identify**: In the **CI class** field, specify the CI class for which the event’s node field is evaluated during CI identification. This determines the type of CI the system attempts to identify first. Select **View items** to see the list of CIs of this type and their attribute values. 3. **Identify the CI when the following alert fields match the CI attributes**: In this section, map alert fields to CI attributes to help the system find the correct CI: - **Alert field**: Select the alert field that contains identifying information. - **CI attribute**: Select the CI attribute that the alert field must map to. 4. Use Advanced options to control how the system treats the alert node field during CI identification. - Node field behavior: Choose one of the following: - Consider node field: Uses the alert’s node value during CI identification. - Ignore node field: Ignores the alert’s node value. Based on the selected CI class, the system recommends whether you should consider or ignore the node field, but you can override this recommendation if needed. - Use all matching additional info fields: Select this check box to use all matching fields from the event’s Additional Info for CI identification instead of mapping individual fields. 5. **+ Add fallback**: Add fallback CI class and field mappings to define alternate identification logic. If the primary configuration does not identify a CI, the system evaluates each fallback in order until it finds a match. Ensure that the **Node** field in the alert is populated correctly to identify a host CI. The CI you are identifying must have a [runs on](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/t_EMBindApplication.md) relationship to the host CI or be [mapped to the host](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/ci-device-binding.md). 6. Ensure that at least one CI attribute is present in the **Additional info** field of the alert. For instructions on how to populate these fields, see [Set additional info fields to match CI attribute format](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/set-addi-info-field-match-ci-attribute.md). The system attempts to match values from the **Additional info** field of the alert with the CI table. If a match is found, the alert is bound to the corresponding CI. 7. Select **Test CI identification** to test the CI identification on sample events. After successful CI identification, the system displays a message with the relevant details.\[Omitted image "enrich\_automation\_ci\_binding\_success.png"\] Alt text: CI identification is successful If CI identification fails, the system shows a message explaining the details.\[Omitted image "enrich\_automation\_ci\_binding\_failed.png"\] Alt text: CI identification failed For more information on CI binding, see [Binding alerts to CIs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/event-management/ci-binding-alert.md). |