Integrate with push connectors
Integrate with a push connector to connect to an external event source. Push connectors process the collected event messages and transform them to the required event format.
Before you begin
Ensure that the Event Management Connectors (sn_em_connector) plugin is installed.
Role required: evt_mgmt_admin
Note: If you are upgrading a ServiceNow AI Platform instance from Paris or earlier, you can use legacy listener transform scripts. See Use legacy listener transform scripts for further information.
About this task
The push connectors accept event messages that are generated by external event sources.
Configure a connector to listen to an external event source. Using a custom push connector, send the event messages through either the MID Server or the instance.
Note: You can use this generic JSON target URL to collect events:https:/<<INSTANCE>>/api/sn_em_connector/em/inbound_event?source=genericJson. This URL can be used as-is and requires that an event rule be configured.
Procedure
-
Navigate to All > Event Management > Integrations > Push Connectors.
-
Click New or click the push connector that you want to modify, for example, AWS or Azure.
-
On the form, fill in the fields.
|
Field |
Description |
|---|---|
|
Name |
Unique name for this push connector for easy identification. |
|
Description |
Enter a description for the use of the push connector. |
|
Header name |
Specify the name of the header that you want the value for, such as Set-Header. |
|
Header value |
The value of the header name that you want the value for, such as Set-Header. |
|
Type |
Select to send events either |
|
Active |
Select to enable pulling events from this external event source. |
|
Order |
Order in which an event rule is evaluated when multiple rules are defined for the same type of event. Event rules are evaluated in ascending order. |
|
URL parameter value |
Use the URL in this format for all connectors:
Use the URL in the format: Note: Sending events to the MID Server requires the prior configuration of the MID WebService Event Listener extension. |
- If the value selected for the **Type** field is `MID`, the **Transform script** field appears. In this field, specify or search for the name of the MID script include. The script accepts event messages from the required external event source and parses them into the required event format. Use this naming convention for the script: `TransformEvents_<your source>`
- If the value selected for the **Type** field is **Instance**, the **Script** editor appears. In the **Script** editor, enter the customized script that accepts event messages that the required external event source generates and that the script parses into the required event format.
This example shows the fields that have been transformed, being added to an event form.
```
(function process(/*RESTAPIRequest*/ request, body) {
/*Function that receives a JSON object, adding all its fields to the Additional information object. The field name is a concatenation of the field key and the parent field key if it exists.*/
function updateAdditionalInfo(event, field,jsonObject,additionalInfo) {
for (var key in jsonObject) {
var newKey = key;
if (field != "") {
newKey = field + '_' + key;
}
// You can do some transformation here and set fields on the event
//if(key == "MySource")
// event.source = jsonObject[key];
additionalInfo[newKey] = jsonObject[key];
}
}
try
{
gs.info("TransformEvents_generic received body:" + body);
var jsonObject = JSON.parse(body);
var event = new GlideRecord('em_event');
event.source = "GenericJson"; //TODO: Need to define
event.event_class = "GenericJsonClass"; //TODO: Need to define
event.severity = "5";
var additionalInfo = {};
updateAdditionalInfo(event, "",jsonObject,additionalInfo);
/*Iterates over Additional information JSON object and adds all nested objects' fields as fields of the Additional information object*/
var notDone = true;
while (notDone) {
notDone = false;
for (var key in additionalInfo) {
if (Object.prototype.toString.call(additionalInfo[key]) == '[object Object]') {
notDone = true;
updateAdditionalInfo(event, key,additionalInfo[key],additionalInfo);
additionalInfo[key] = "";
}
}
}
gs.info("TransformEvents_generic generated additional information:" + JSON.stringify(additionalInfo));
event.additional_info = JSON.stringify(additionalInfo);
event.insert();
}
catch(er){
gs.error(er);
status=500;
return er;
}
return "success";
})(request, body);
```
- Use legacy listener transform scripts
Use legacy listener transform scripts when upgrading a ServiceNow AI Platform instance from Paris or earlier. These scripts can be run as part of existing integrated systems, or in unison with Event Management push connectors. - Integrate AWS platform as a data source
Integrate Amazon Web Services (AWS) with Event Management. To add AWS platform as a data source, configuration is required in the AWS platform. - Integrate Azure Monitor as an authenticated data source
Integrate Microsoft Azure with Event Management by adding the Azure Monitor as an authenticated data source. - Event collection from Microsoft Azure Monitor
The MID WebServer Event Collector enables you to collect JSON formatted event messages sent from the Microsoft Azure portal. - Event collection from BMC TrueSight and BMC TrueSight_v2
The MID WebService Event Collector enables you to collect JSON formatted event messages sent from BMC TrueSight Operations Management (TrueSight), previously known as BMC ProactiveNet Performance Management (BPPM). It uses event stream notification capabilities. - Metric collection from OpenTelemetry (Otel) metrics
The MID WebService metric Collector enables you to collect JSON and protobuf formatted metrics sent from OpenTelemetry (Otel). - Integrate New Relic platform events
Integrate New Relic with Event Management by adding a standard webhook in the New Relic old and new consoles. - Integrate Catchpoint events
Integrate Catchpoint with Event Management by adding an alert webhook in the Catchpoint platform. - Integrate Google Cloud Platform (GCP) events
Integrate Google Cloud Platform (GCP) with Event Management by adding a standard webhook in the GCP console. - Event collection from Google Cloud Platform (GCP)
The MID WebService Event Collector enables you to collect JSON formatted event messages sent from Google Cloud Platform (GCP). - Integrate Grafana events
Integrate Grafana with Event Management by adding Grafana as an authenticated data source. - Integrate Honeycomb events
Integrate Honeycomb with Event Management by creating a webhook and configuring it as a trigger in the Honeycomb platform. - Integrate Instana events
Integrate Instana with Event Management by adding Instana as an authenticated data source. - Integrate ServiceNow Cloud Observability Events
Integrate ServiceNow Cloud Observability with Event Management by adding a standard webhook in the ServiceNow Cloud Observability platform. Download the Event Management Connector plugin from the ServiceNow Store so you can integrate with ServiceNow Cloud Observability. - Integrate Logicmonitor events
Integrate Logicmonitor with Event Management to send events into ServiceNow by adding a webhook using Basic Authentication, it will also be available with bi-directional functionality. - Event collection from Logicmonitor
The MID WebService Event Collector enables you to collect JSON formatted event messages from the Logicmonitor. - Integrate Oracle Cloud Infrastructure alarms
Integrate Oracle Cloud Infrastructure (OCI) alarms with Event Management to send events into ServiceNow by adding a https subscription using Basic Authentication. - Integrate Prometheus events
Integrate Prometheus with Event Management by adding a standard webhook in Prometheus's Alert Manager. - Integrate Sentry events
Integrate Sentry with Event Management by adding a standard webhook in the Sentry platform. - Integrate Scout APM events
Enable the collection of events from Scout APM by authenticating Scout APM as a data source to integrate it with Event Management. - Integrate Sumo Logic events
Use the Sumo Logic push connector to integrate Sumo Logic with Event Management by adding a standard webhook in the Sumo Logic platform. - Integrate Panopta as a data source
Integrate the Panopta cloud-based monitoring solution with Event Management. To add Panopta as a data source, configuration is required in Panopta. - Integrate Event Integration (EIF) format event connector
Use the push connector that allows events to be forwarded from products, generally from IBM, that support the Event Integration (EIF) format to a MID Server.
Parent Topic:Configure Event Management connectors
---
title: Integrate with push connectors
description: Integrate with a push connector to connect to an external event source. Push connectors process the collected event messages and transform them to the required event format.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/it-operations-management/event-management/configure-listener-transform-script.html
release: brazil
product: Event Management
classification: event-management
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 6
breadcrumb: [Configure a push connector, Configure Event Management connectors, Event Management Integrations, Configure, Event Management, ITOM AIOps, IT Operations Management]
---
# Integrate with push connectors
Integrate with a push connector to connect to an external event source. Push connectors process the collected event messages and transform them to the required event format.
## Before you begin
Ensure that the Event Management Connectors \(sn\_em\_connector\) plugin is installed.
Role required: evt\_mgmt\_admin
**Note:** If you are upgrading a ServiceNow AI Platform instance from Paris or earlier, you can use legacy listener transform scripts. See [Use legacy listener transform scripts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/migrate-transform-scripts.md) for further information.
## About this task
The push connectors accept event messages that are generated by external event sources.
Configure a connector to listen to an external event source. Using a custom push connector, send the event messages through either the MID Server or the instance.
**Note:** You can use this generic JSON target URL to collect events:`https:/<<INSTANCE>>/api/sn_em_connector/em/inbound_event?source=genericJson`. This URL can be used as-is and requires that an event rule be configured.
## Procedure
1. Navigate to **All** > **Event Management** > **Integrations** > **Push Connectors**.
2. Click **New** or click the push connector that you want to modify, for example, AWS or Azure.
3. On the form, fill in the fields.
<table id="simpletable_hd4_3mz_sw"><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Name
</td><td>
Unique name for this push connector for easy identification.
</td></tr><tr><td>
Description
</td><td>
Enter a description for the use of the push connector.
</td></tr><tr><td>
Header name
</td><td>
Specify the name of the header that you want the value for, such as Set-Header.
</td></tr><tr><td>
Header value
</td><td>
The value of the header name that you want the value for, such as Set-Header.
</td></tr><tr><td>
Type
</td><td>
Select to send events either `Instance` or `MID`. In each case, use the URL of the selected type. See the description of the **URL parameter value** field.
</td></tr><tr><td>
Active
</td><td>
Select to enable pulling events from this external event source.
</td></tr><tr><td>
Order
</td><td>
Order in which an event rule is evaluated when multiple rules are defined for the same type of event. Event rules are evaluated in ascending order.
</td></tr><tr><td>
URL parameter value
</td><td>
- Send events to the instance.
Use the URL in this format for all connectors: `https://<<INSTANCE>>/api/sn_em_connector/em/inbound_event?source={URL_parameter_value}`
- Send events through the MID Server.
Use the URL in the format:`http://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/em/inbound_event?Transform={Transform_script}`
**Note:** Sending events to the MID Server requires the prior configuration of the MID WebService Event Listener extension.
</td></tr></tbody>
</table>4. In the Script section:
- If the value selected for the **Type** field is `MID`, the **Transform script** field appears. In this field, specify or search for the name of the MID script include. The script accepts event messages from the required external event source and parses them into the required event format. Use this naming convention for the script: `TransformEvents_<your source>`
- If the value selected for the **Type** field is **Instance**, the **Script** editor appears. In the **Script** editor, enter the customized script that accepts event messages that the required external event source generates and that the script parses into the required event format.
This example shows the fields that have been transformed, being added to an event form.
```
(function process(/*RESTAPIRequest*/ request, body) {
/*Function that receives a JSON object, adding all its fields to the Additional information object. The field name is a concatenation of the field key and the parent field key if it exists.*/
function updateAdditionalInfo(event, field,jsonObject,additionalInfo) {
for (var key in jsonObject) {
var newKey = key;
if (field != "") {
newKey = field + '_' + key;
}
// You can do some transformation here and set fields on the event
//if(key == "MySource")
// event.source = jsonObject[key];
additionalInfo[newKey] = jsonObject[key];
}
}
try
{
gs.info("TransformEvents_generic received body:" + body);
var jsonObject = JSON.parse(body);
var event = new GlideRecord('em_event');
event.source = "GenericJson"; //TODO: Need to define
event.event_class = "GenericJsonClass"; //TODO: Need to define
event.severity = "5";
var additionalInfo = {};
updateAdditionalInfo(event, "",jsonObject,additionalInfo);
/*Iterates over Additional information JSON object and adds all nested objects' fields as fields of the Additional information object*/
var notDone = true;
while (notDone) {
notDone = false;
for (var key in additionalInfo) {
if (Object.prototype.toString.call(additionalInfo[key]) == '[object Object]') {
notDone = true;
updateAdditionalInfo(event, key,additionalInfo[key],additionalInfo);
additionalInfo[key] = "";
}
}
}
gs.info("TransformEvents_generic generated additional information:" + JSON.stringify(additionalInfo));
event.additional_info = JSON.stringify(additionalInfo);
event.insert();
}
catch(er){
gs.error(er);
status=500;
return er;
}
return "success";
})(request, body);
```
- **[Use legacy listener transform scripts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/migrate-transform-scripts.md)**
Use legacy listener transform scripts when upgrading a ServiceNow AI Platform instance from Paris or earlier. These scripts can be run as part of existing integrated systems, or in unison with Event Management push connectors.
- **[Integrate AWS platform as a data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/aws-events-transform-script.md)**
Integrate Amazon Web Services \(AWS\) with Event Management. To add AWS platform as a data source, configuration is required in the AWS platform.
- **[Integrate Azure Monitor as an authenticated data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/azure-integration.md)**
Integrate Microsoft Azure with Event Management by adding the Azure Monitor as an authenticated data source.
- **[Event collection from Microsoft Azure Monitor](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/event-collection-MicrosoftAzure.md)**
The MID WebServer Event Collector enables you to collect JSON formatted event messages sent from the Microsoft Azure portal.
- **[Event collection from BMC TrueSight and BMC TrueSight\_v2](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/event-collection-BMCTrueSight.md)**
The MID WebService Event Collector enables you to collect JSON formatted event messages sent from BMC TrueSight Operations Management \(TrueSight\), previously known as BMC ProactiveNet Performance Management \(BPPM\). It uses event stream notification capabilities.
- **[Metric collection from OpenTelemetry \(Otel\) metrics](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/metric-collection-otel.md)**
The MID WebService metric Collector enables you to collect JSON and protobuf formatted metrics sent from OpenTelemetry \(Otel\).
- **[Integrate New Relic platform events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/new-relic-events-integration.md)**
Integrate New Relic with Event Management by adding a standard webhook in the New Relic old and new consoles.
- **[Integrate Catchpoint events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/catchpoint-event-collection.md)**
Integrate Catchpoint with Event Management by adding an alert webhook in the Catchpoint platform.
- **[Integrate Google Cloud Platform \(GCP\) events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/gcp-events-integration.md)**
Integrate Google Cloud Platform \(GCP\) with Event Management by adding a standard webhook in the GCP console.
- **[Event collection from Google Cloud Platform \(GCP\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/event-collection-GCP.md)**
The MID WebService Event Collector enables you to collect JSON formatted event messages sent from Google Cloud Platform \(GCP\).
- **[Integrate Grafana events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/grafana-integration.md)**
Integrate Grafana with Event Management by adding Grafana as an authenticated data source.
- **[Integrate Honeycomb events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/honeycomb-event-integration.md)**
Integrate Honeycomb with Event Management by creating a webhook and configuring it as a trigger in the Honeycomb platform.
- **[Integrate Instana events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/instana-integration.md)**
Integrate Instana with Event Management by adding Instana as an authenticated data source.
- **[Integrate ServiceNow Cloud Observability Events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/lightstep-event-collection.md)**
Integrate ServiceNow Cloud Observability with Event Management by adding a standard webhook in the ServiceNow Cloud Observability platform. Download the Event Management Connector plugin from the ServiceNow Store so you can integrate with ServiceNow Cloud Observability.
- **[Integrate Logicmonitor events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/logicmonitor-events-integration.md)**
Integrate Logicmonitor with Event Management to send events into ServiceNow by adding a webhook using Basic Authentication, it will also be available with bi-directional functionality.
- **[Event collection from Logicmonitor](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/event-collection-logicmonitor.md)**
The MID WebService Event Collector enables you to collect JSON formatted event messages from the Logicmonitor.
- **[Integrate Oracle Cloud Infrastructure alarms](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/oracle-cloud-events-integration.md)**
Integrate Oracle Cloud Infrastructure \(OCI\) alarms with Event Management to send events into ServiceNow by adding a https subscription using Basic Authentication.
- **[Integrate Prometheus events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/prometheus-events-integration.md)**
Integrate Prometheus with Event Management by adding a standard webhook in Prometheus's Alert Manager.
- **[Integrate Sentry events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/sentry-events-collection.md)**
Integrate Sentry with Event Management by adding a standard webhook in the Sentry platform.
- **[Integrate Scout APM events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/integrate-scout-apm-events.md)**
Enable the collection of events from Scout APM by authenticating Scout APM as a data source to integrate it with Event Management.
- **[Integrate Sumo Logic events](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/sumologic-events-integration.md)**
Use the Sumo Logic push connector to integrate Sumo Logic with Event Management by adding a standard webhook in the Sumo Logic platform.
- **[Integrate Panopta as a data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/integrate-with-panopta.md)**
Integrate the Panopta cloud-based monitoring solution with Event Management. To add Panopta as a data source, configuration is required in Panopta.
- **[Integrate Event Integration \(EIF\) format event connector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/eif-events-integration.md)**
Use the push connector that allows events to be forwarded from products, generally from IBM, that support the Event Integration \(EIF\) format to a MID Server.
**Parent Topic:**[Configure Event Management connectors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/connectors-and-listeners.md)
| title | Integrate with push connectors |
| description | Integrate with a push connector to connect to an external event source. Push connectors process the collected event messages and transform them to the required event format. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/event-management/configure-listener-transform-script.html |
| release | brazil |
| product | Event Management |
| classification | event-management |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 6 |
| breadcrumb | Configure a push connectorConfigure Event Management connectorsEvent Management IntegrationsConfigureEvent ManagementITOM AIOpsIT Operations Management |