Integrate Kentik alerts with ServiceNow using a custom webhookBefore you begin Verify that the Event Management Connectors (sn_em_connector) plugin is installed on the Now Platform instance. Role required: evt_mgmt_integration You will need a REST API key for your instance associated with an evt_mgmt_integration User. See this article for more. Initialize a ServiceNow connector Navigate to Service Operations Workspace > Integrations LaunchPadSelect Custom Connector(Webhook)Enter a name and enter Kentik for SourceSelect NextCopy the provided URL for the next section. You will return to this page later. Set up a Kentik Notification Channel In Kentik, navigate to Settings > Alerting > NotificationsSelect Add Notification ChannelSelect Custom WebhookEnter a name for the webhook, eg ServiceNow AlertsEnter your ServiceNow custom webhook URL from aboveEnter the following Custom Header, using your ServiceNow REST API key: x-sn-apikey: <api-key>Enter the following Go template, substituting ktsubtype__kappa__STR12 with the Name of the dimension you're using to identify the source service, and substituting ktsubtype__kappa__STR18 with the Name of the dimension you're using for the destination service: { {{- with .Event}} "summary": "{{.Description}}", "severity": "{{.Details.GetValue "AlarmSeverity"}}", "timestamp": "{{$.NowRFC3339}}", "node": "{{- range .Details }}{{ if (eq .Name "ktsubtype__kappa__STR12") }}{{ .Value }}{{ end }}{{- end -}}", "source_service": "{{- range .Details }}{{ if (eq .Name "ktsubtype__kappa__STR12") }}{{ .Value }}{{ end }}{{- end -}}", "destination_service": "{{- range .Details }}{{ if (eq .Name "ktsubtype__kappa__STR18") }}{{ .Value }}{{ end }}{{- end -}}", "type": "{{- .Type -}}", "custom_details": [ {{- range $index, $det := .Details -}} {{- join $index -}} { "name": "{{- $det.Name -}}", "label": "{{- $det.Label -}}", "value": "{{- $det.Value -}}", "tag": "{{- $det.Tag -}}" } {{- end -}} ], "metric_name": " {{- range $index, $detail := .Details.WithTag "metric" -}} {{- joinWith $index ", " -}} {{- $detail.LabelOrName -}} {{- end -}} " {{- end }} } The custom details field will extrapolate all details (dimensions, metrics, etc.) associated with the alert. Select Save Map Kentik Fields to ServiceNow Alerts and Activate Return to your ServiceNow custom webhookSelect "Gather real source events to define fields"In your Kentik notification channel, select preview, then select Test a few times The severity, node, and metric names field will be empty for the test insight. Ensure that your ServiceNow instance is receiving payloads.Map ServiceNow fields to the Kentik payload as follows: Severity: severityCritical: criticalMajor: majorWarning: warningMinor: minorClear: clearMessage key: metric_name, nodeDescription: summaryMetric name: metric_nameNode: nodeType: typeEvent time: timestamp Select SaveSelect Activate