- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- 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.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.5.4.xml
Note: Integration with Case Management is only supported with v2.4.0 and later. Integration with Incident Management and bidirectional syncing with Case Management is only supported with v2.5.0 and later. Furthermore, bidirectional syncing with Case Management is only supported for ServiceNow ITSM.
In ServiceNow:
Loaded
. Click on the name of the Update Set to preview the changes.After setup is complete, search Datadog in the ServiceNow navigation menu to access the five tables and Configuration Page for bidirectional syncing setup.
Configuration
Datadog Incidents ITSM
Datadog Cases ITOM
, formerly known as Datadog Case Event
Datadog Cases ITSM
, formerly known as Datadog Case Incident
Datadog Monitors ITOM
, formerly known as Datadog Event
Datadog Monitors ITSM
, formerly known as Datadog Incident
To use the integration, create a ServiceNow user (for example, with username “datadog”) and assign it all of the following roles:
x_datad_datadog.user
andimport_set_loader
andimport_transformer
If you’d like to send notifications directly to the ITOM module Event table or the ITSM module Incident table, the ServiceNow user needs both of the following roles:
ITIL
andevt_mgmt_integration
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
Note: Manual updates made to a ticket in ServiceNow by this ServiceNow user will not be synced to Datadog.
Note: You must set up the ServiceNow tile in the Datadog integrations page before completing the following steps:
For Monitor Notifications using @servicenow-<INSTANCE_NAME>
in Datadog, select the interim table to send notifications to in the ServiceNow tile.
@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 in the mappings and transformations you created.If you use Datadog’s Case Management, you can select an interim table to sync cases in the ServiceNow tile (disabled by default).
Note: The Datadog Cases ITOM
table is not set up for updates. The Datadog Cases ITSM
table is recommended for this version.
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.
The Datadog 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 Datadog Monitors ITOM and Datadog 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 Datadog Configuration Tile and extending 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.