- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
ServiceNow is an IT service management platform for recording, tracking, and managing a company’s enterprise-level IT processes in a single location.
The Datadog ServiceNow integration is a two-way integration that allows you to:
Datadog integrates with the following ServiceNow tools:
Note: The Datadog ServiceNow integration supports ServiceNow releases that are not listed as end of life.
<INSTANCE_NAME>.service-now.com
.Note: You can create a limited user in ServiceNow just for Datadog.
Service Graph Connector for Observability - Datadog can automatically populate server and database configuration items (CIs) in the CMDB for new resources discovered by Datadog. The Service Graph connector is available through the ServiceNow store.
For configuration, follow the Service Graph Connector’s guided setup instructions.
Supported CI Types:
The notes below only apply if you have already configured the integration for ServiceNow ITOM/ITSM:
Target table
and Custom table
values from the configuration tile. You can save the integration with the Target table default values.Enrich your Datadog hosts with ServiceNow CMDB metadata through host tagging.
To enable ingestion of host tags:
Expect host tags to populate in Datadog shortly after your queries’ scheduled executions.
Monitor the ingestion process in the Datadog Events Explorer by scoping your search query on source:servicenow
.
For host tagging to work correctly, ensure that the following are true in your system:
cmdb_query_builder_read
.glide.cmdb.query.max_results_limit
setting in ServiceNow. By default, the maximum number of results is 10000. To change the setting, go to Configuration -> CMDB Properties -> Query Builder Properties.Enrich your Datadog Service Catalog with ServiceNow CMDB metadata through service tagging.
With service tagging, you can populate your Datadog Service Catalog with services from your ServiceNow CMDB.
To enable ingestion of service data:
Expect to see service data populated in Datadog a few minutes after your queries’ scheduled executions. To view ingestion errors, go to the Events Explorer and search for events with source:servicenow
.
For service ingestion to work correctly, ensure that the following are true in your system:
cmdb_query_builder_read
.glide.cmdb.query.max_results_limit
setting in ServiceNow. By default, the maximum number of results is 10000. To change the setting, go to Configuration -> CMDB Properties -> Query Builder Properties.Add tags to your network devices in Datadog populated with data from your ServiceNow CMDB.
With device tagging, you can dynamically enrich network devices monitored by Datadog Network Device Monitoring with device metadata from your ServiceNow CMDB.
To enable ingestion of device tags:
You can expect to see network device tags populated in Datadog within a few minutes after your queries’ scheduled executions. Any ingestion errors are reported through events viewable in your events explorer.
Monitor the ingestion process in the Datadog Events Explorer by scoping your search query on source:servicenow
.
cmdb_query_builder_read
.glide.cmdb.query.max_results_limit
setting in Servicenow is configured to allow.
Make sure all CIs configured in your querybuilder query have a ‘1’ label. Ensure you did not create any duplicate CIs, as the parser doesn’t support them.Use Reference Tables to automatically enrich logs and events with additional fields from your ServiceNow CIs. With Reference Tables, you can map sets of value fields to a primary key, such as a hostname, and automatically append these fields to all logs or events that contain the specified key.
To enable ingestion of Reference Tables:
The Reference Table will be populated with the data from the query shortly after saving.
site.
site.
site.To use the Datadog integration for Monitors, Case Management, and Incident Management, follow these steps:
Download the latest Update Set here: Datadog-Snow_Update_Set_v2.6.0.xml
and upload to your ServiceNow instance manually
Changelog
Installing the Update Set In ServiceNow:
Loaded
. Click on the name of the Update Set to preview the changes.After you have installed the app, search Datadog in the ServiceNow navigation menu to access all of the tables and the Configuration Page for bidirectional syncing setup.
Configuration
Datadog Incidents ITSM
Cases ITOM
, formerly Datadog Cases ITOM
Cases ITSM
, formerly Datadog Cases ITSM
Legacy Monitors ITOM
, formerly Datadog Monitors ITOM
Legacy Monitors ITSM
, formerly Datadog Monitors ITSM
Templated Monitors ITOM
Templated Monitors ITSM
To use the integration, create a ServiceNow user (for example, with username “datadog” or “datadog_integration”) and assign it all of the following roles:
x_datad_datadog.user
andimport_set_loader
andimport_transformer
If you’d like to sync incident state for resolution, the ServiceNow user needs one of the following roles:
ITIL
orlist_updater
orsn_incident_write
If you’d like to sync incident state for closure, the ServiceNow user needs the following role:
ITIL_admin
If you’d like to send notifications directly to the ITOM module Event table or the ITSM module Incident table, the ServiceNow user needs one of the following roles:
ITIL
for ITSMevt_mgmt_integration
for ITOMNote: Manual updates made to a ticket in ServiceNow by this ServiceNow user (“datadog” or “datadog_integration”) are not synced to Datadog.
Note: App version >= v2.6.0 required for this functionality. You also must add an instance on the Configuration page of the ServiceNow tile in Datadog before completing the below steps.
For all templated @-handles for a particular instance, Datadog now automatically maps Monitor Priority to Impact and Urgency in ServiceNow according to this mapping.
Toggling the Use Instance Priority Mapping
off disables the setting Impact and Urgency on ServiceNow records.
For Monitor Notifications using @servicenow-<TEMPLATE_NAME>
in Datadog, use the new template creation UI in the ITOM/ITSM tab of the ServiceNow integration tile in Datadog to create a ServiceNow notification.
Note: This is only available for app versions >= 2.6.0.
+ New
button to create a new template.Name
, Instance
and Target Table
for the monitor notification to be delivered to. Then select one of Assignment Group
, Business Service
, User
, or Unassigned
to assign the record. The transform map defined in 2.6.0 automatically populates the incident INC
record with the value you select here.To use the new template, add @servicenow-<TEMPLATE_NAME>
in a monitor description.
You can add custom fields to the payload by clicking Add Field
in the Customize notification payload
section.
From the Case Management
tab:
Datadog Cases ITOM
or Datadog Cases ITSM
.
Note: No table is selected by default.To allow edits in ServiceNow to update their associated cases in Datadog, a ServiceNow user with the x_datad_datadog.user
role and admin
role must configure the installation settings for the ITOM/ITSM Integration for Datadog app in ServiceNow:
ITOM/ITSM Integration for Datadog
into the filter, and clicking the Configuration link that appears in the filtered list.After configuring the installation settings in ServiceNow, return to Datadog Case Management to configure the integration.
Note: It is important to use a Service Account Application Key for this setup rather than a user’s Application Key. A user’s Application Key is tied to the user’s account permissions. If the user’s permissions are reduced or if the user is deactivated, bidirectional syncing between ServiceNow and Datadog will stop. A Service Account Application Key is not tied to an individual user, so bidirectional sync will not be impacted by user account changes.
After installing the app, visit the Integration Settings in the Incident App to finish setup.
For Legacy Monitor Notifications using @servicenow-<INSTANCE_NAME>
in Datadog, select the interim table to send notifications to at the bottom of the ITOM/ITSM tile titled: “Manage Legacy Monitor Notifications”.
@servicenow-<INSTANCE_NAME>
in a monitor or event notification. The raw data populates rows in the interim table and is forwarded to the ServiceNow table specified by the app.The Templated Monitors ITSM, Legacy Monitors ITSM, and Datadog Cases ITSM tables use a transform map to transform Datadog records into ServiceNow incidents. Similarly, the Datadog Monitors ITOM and Datadog Cases ITOM transform Datadog records into ServiceNow events.
The Templated Monitors ITOM and Templated Monitors ITSM tables use transform maps to transform Datadog records into ServiceNow events and incidents respectively. You can customize the ServiceNow events and incidents information in these tables by customizing the notification payload in the New Template
UI and extend the transform maps in ServiceNow.
Note: The Datadog Cases ITOM and Datadog Cases ITSM tables similarly use transform maps; however, transform map customization is not recommended for use with Case Management given the payload for Datadog cases is not customizable.
If you’re not seeing events in your ServiceNow tables and instead have
An error message in your Datadog integration tile or an Error while trying to post to your ServiceNow instance
notification:
The integration is configured, an alert triggered, and no ticket is created:
The ServiceNow user needs rest_service
and x_datad_datadog.user
roles so that it can access the import tables. If you’re using the legacy way of sending notifications directly to either the Incident table or Event table, you need the permissions itil
and evt_mgmt_integration
.
If you’re seeing updates from Datadog Case Management to ServiceNow, but not seeing updates from ServiceNow to Datadog, this is expected behavior for ServiceNow ITOM. Bidirectional syncing with Case Management is only supported for ServiceNow ITSM.
Need additional help? Contact Datadog support.
To prevent the import set table x_datad_datadog_import_host
from accumulating too many rows, an auto-flush rule has been added to the Table Cleaner tool to keep only the last 24 hours of data. This configuration setting can be changed as needed by navigating to sys_auto_flush_list.do
in the filter navigator and going into the rule for the x_datad_datadog_import_host
table. The Age in seconds
field can be updated accordingly.
After ServiceNow is connected to your Datadog account, alerts received can automatically create support tickets and send them to the ServiceNow ticketing queue. From there, your support team is notified of issues using the communication workflows that you have already established inside ServiceNow. Mention @servicenow
in the alert message or add @servicenow
to the notification list for that monitor.
Variables can be used in the body of your alerts or in field mappings to ensure details from the event are included in ServiceNow. For example, you can include the title and severity in the appropriate ServiceNow field or you can include a link back to the specific incident in Datadog right from the ServiceNow ticket.
The priority
field in ServiceNow incidents is read only and can only be updated using priority lookup rules.
Define Impact
and Urgency
in monitors to calculate the ServiceNow incident priority.
Once the monitor state returns to normal, the associated support ticket is automatically marked as “resolved”.
Click one of the tables, for example Datadog Monitors ITSM Tables, and scroll to the bottom of the record to see the link for the associated transform map.
Click on the name of the transform map to view the record:
At the top are two important fields on the Transform record - Source table
and Target table
:
Notes:
Click New:
Select the source and target fields for one to one mappings:
Or, check the Use source script box and define transformations:
Note: For mapping any custom fields in the Integration Tile, you can use the following mapping script for either the Datadog Monitors ITOM and Datadog Monitors ITSM Transform maps. In this example, the field my_field
was defined as a custom field in the integration tile:
answer = (function transformEntry(source)
{
var additional_info = JSON.parse(source.additional_info);
return additional_info.custom_my_field;
})(source);
Use Mapping Assist (under Related Links) to map several source and target fields:
To validate the integration is set up correctly, add @servicenow
in a monitor or event notification. The raw data populates rows in the interim table and is forwarded to the ServiceNow table specified in the mappings and transformations you created.