You can create a customized pull connector that requires a script, connector
definition, and connector instance, to retrieve events on behalf of an event
source.
Pourquoi et quand exécuter cette tâche
A custom connector script can make remote API calls for a
new event source to send events to the ServiceNow instance. You
can create a script, and then add it as part of a new Event Management
connector definition and connector instance. This procedure automatically creates a
JavaScript code file using the name that you enter in the Name
field as the filename. The JavaScript custom code that accomplishes these actions
must:
- Connect to an event monitoring tool.
- Retrieve events from an event monitoring tool.
- Send events to the Event [em_event] table using a web service API.
See REST API.
Each connector definition is specific to an event source vendor. The connector
definition specifies the MID Server script include that pulls events from the
external event source. In addition, the connector definition specifies what
connector instance value parameters are needed to connect to the external event
source host.