---
title: ServiceNow
description: >-
  Create ServiceNow incidents, populate CMDB CIs, enrich Datadog with CMDB data,
  and monitor ServiceNow performance.
breadcrumbs: Docs > Integrations > ServiceNow
---

# ServiceNow
Integration version2.7.0          Enrich your Datadog hosts with CMDB metadata.Enrich your Datadog network devices with CMDB metadata.Enrich logs and events with CMDB reference tables.Create ServiceNow tickets from Datadog Alerts.Create ServiceNow incidents with Datadog Incident Management.CMDB Health dashboard: provides insights into detailed analysis of the configuration items (CIs) within the CMDB.
## Overview{% #overview %}

ServiceNow is an IT service management (ITSM) platform used to record, track, and manage enterprise-level IT processes in one centralized system.

The Datadog-ServiceNow integration bridges observability and IT service management, enabling seamless collaboration between operations and service teams. This bi-directional integration consists of the following key components:

{% tab title="ITOM/ITSM integration" %}
Send alerts, cases, and incidents generated in Datadog to ServiceNow as records in the Incident or Event tables. Manage and resolve these issues directly from Datadog, creating a seamless connection between observability and IT service workflows across IT service management (ITSM) and IT operations management (ITOM).

**[Get started with the ITOM/ITSM integration.](https://docs.datadoghq.com/integrations/guide/servicenow-itom-itsm-setup/)**
{% /tab %}

{% tab title="CMDB Enrichment" %}
Enrich Datadog hosts, services, and devices with business-specific information stored as CIs in Configuration Management Database (CMDB), enabling you to better understand your infrastructure usage, accelerate troubleshooting, and visualize your Datadog entities with the metadata you care about.

**[Get started with the CMDB Enrichment integration.](https://docs.datadoghq.com/integrations/guide/servicenow-cmdb-enrichment-setup/)**
{% /tab %}

{% tab title="Service Graph Connector" %}
Use Datadog as a discovery mechanism for ServiceNow CMDB Configuration Items (CIs) with the Datadog Service Graph Connector.

**[Get started with the Service Graph Connector integration.](https://docs.datadoghq.com/integrations/guide/servicenow-service-graph-connector-setup/)**
{% /tab %}

{% tab title="ServiceNow Performance Monitoring" %}
Monitor the health and performance of your ServiceNow instances. This integration provides logs and metrics giving you rich insights into how your teams are working with the various ServiceNow modules.

**Get started with ServiceNow Performance Monitoring.**
{% /tab %}

{% tab title="Change request event forwarding" %}
You can forward ServiceNow change request events to Datadog, so you can correlate change activity in ServiceNow with metrics, logs, and traces.

**Get started with change request event forwarding.**
{% /tab %}

**Note**: The Datadog ServiceNow integration supports [ServiceNow releases](https://www.servicenow.com/community/now-platform-articles/servicenow-versions-release/ta-p/2312014) that are not listed as end of life.

## Setup{% #setup %}

Click the links above to view setup guides for each component. For each integration, begin by configuring the ServiceNow tile.

### Configure the ServiceNow tile in Datadog{% #configure-the-servicenow-tile-in-datadog %}

Configuration for all ServiceNow integrations starts with entering your ServiceNow instance details into Datadog. This configuration enables the integration to support the following features:

- IT Operations Management (ITOM) and IT Service Management (ITSM)
- CMDB Enrichment
- Collection of ServiceNow Performance Monitoring metrics and logs
- Change request event forwarding

To configure a new instance, follow these steps:

1. In Datadog, navigate to the [ServiceNow integration tile](https://app.datadoghq.com/integrations/servicenow) on the Integrations page.
1. Click **Add New Instance**.
1. Choose an authentication method. See the tabs below for details:
   - Use OAuth 2.0 Client Credentials (recommended).
   - Use basic authentication (legacy).
1. Add the instance name, which is the subdomain of your ServiceNow domain: `<INSTANCE_NAME>.service-now.com`. If your ServiceNow instance uses a custom domain, reach out to [Datadog Support](https://docs.datadoghq.com/help/). You enter this field within the Authentication section after selecting a method.
1. Select the type of performance metrics and logs you want to receive:
   - ITSM
   - ITAM
   - CMDB Health
   - Security Incident Response
   - Vulnerability Response



{% tab title="OAuth 2.0 Client Credentials" %}
OAuth 2.0 uses the Client Credentials flow and is the recommended and most secure option.

To configure a new instance using OAuth 2.0 Client Credentials:

1. Follow the steps above to open the ServiceNow integration tile, add a new instance, set the instance name, and select your desired data collection options.
1. Under **Authentication Method**, select **OAuth2**. Paste the Client ID and Client Secret generated when you registered the OAuth application in ServiceNow (Client Credentials grant).
1. Ensure the OAuth Application User has the correct permissions for Datadog and the specific roles for each functionality used. See Create a ServiceNow Account with correct permissions for Datadog below.

{% /tab %}

{% tab title="Basic authentication (legacy)" %}
Basic authentication uses a ServiceNow username and password and is considered legacy. Use OAuth 2.0 whenever possible.

If you must use basic authentication, ensure the Datadog user has the correct permissions. See Create a ServiceNow Account with correct permissions for Datadog below.
{% /tab %}

### Create a ServiceNow Account with correct permissions for Datadog{% #create-a-servicenow-account-with-correct-permissions-for-datadog %}

To use the integration, create a ServiceNow user (for example, with username `datadog` or `datadog_integration`) and assign the user the following roles:

- `x_datad_datadog.user` and
- `import_set_loader` and
- `import_transformer`

### ServiceNow performance logs and metrics{% #servicenow-performance-logs-and-metrics %}

To receive logs and metrics about your instance performance, configure ServiceNow metric settings using a user account that has the following roles and plugins installed:

| Module                           | Data Collected    | User Roles Required                                                                      | Plugin Required                                                                              |
| -------------------------------- | ----------------- | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| ITSM                             | `logs`            | `itil`                                                                                   | -                                                                                            |
| ITAM                             | `logs`            | `asset`                                                                                  | -                                                                                            |
| CMDB Health                      | `logs`, `metrics` | `cmdb_dedup_admin`                                                                       | -                                                                                            |
| Vulnerability Response (VR)      | `logs`, `metrics` | `sn_sec_analytics.read``sn_vul.app_read_all``sn_vul.read_all``sn_vul_container.read_all` | `Vulnerability Response and Configuration Compliance for Containers``Vulnerability Response` |
| Security Incident Response (SIR) | `logs`            | `sn_si.read`                                                                             | `Security Incident Response`                                                                 |

**Tip**: You can create a dedicated limited user in ServiceNow for Datadog.

### Forward change request events to Datadog{% #forward-change-request-events-to-datadog %}

The ServiceNow integration supports forwarding ServiceNow change request events to Datadog. This allows you to correlate change activity in ServiceNow with metrics, logs, and traces inside [Event Management Explorer](https://app.datadoghq.com/event/explorer).

When a change request is created, updated, or deleted in ServiceNow, a business rule can send an event payload to the [Datadog Events API](https://docs.datadoghq.com/api/latest/events/#post-an-event). It can add tags with ServiceNow metadata (such as change number, CI, state, and priority) to these events to appear in the Event Management explorer.

1. In Datadog, on the [ServiceNow integration tile](https://app.datadoghq.com/integrations/servicenow), go to **Configure** > **Change Request Events**.
1. Follow the instructions on the page to select or create a Datadog API key, securely store it in ServiceNow as a system property, and create a ServiceNow business rule with the script Datadog provides.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **servicenow\_performance.cmdb\_health\_result\_rel\_all.rel\_allrules.relations\_count**(count)                                                                | Count of CI relationships which are not compliant with all relationship rules                  |
| **servicenow\_performance.cmdb\_health\_scorecard.audit.failed**(count)                                                                                         | Count of failed audit checks                                                                   |
| **servicenow\_performance.cmdb\_health\_scorecard.audit.score**(gauge)                                                                                          | Score based on audit checks*Shown as percent*                                                  |
| **servicenow\_performance.cmdb\_health\_scorecard.completeness.score**(gauge)                                                                                   | Score based on the completeness of CIs*Shown as percent*                                       |
| **servicenow\_performance.cmdb\_health\_scorecard.correctness.score**(gauge)                                                                                    | Score based on the correctness of CIs*Shown as percent*                                        |
| **servicenow\_performance.cmdb\_health\_scorecard.duplicate.failed**(count)                                                                                     | Count of duplicate CIs                                                                         |
| **servicenow\_performance.cmdb\_health\_scorecard.duplicate.score**(gauge)                                                                                      | Score based on the count of duplicate CIs*Shown as percent*                                    |
| **servicenow\_performance.cmdb\_health\_scorecard.orphan.failed**(count)                                                                                        | Count of orphan CIs that failed checks                                                         |
| **servicenow\_performance.cmdb\_health\_scorecard.orphan.score**(gauge)                                                                                         | Score based on the count of orphan CIs*Shown as percent*                                       |
| **servicenow\_performance.cmdb\_health\_scorecard.recommended.failed**(count)                                                                                   | Count of recommended checks that failed                                                        |
| **servicenow\_performance.cmdb\_health\_scorecard.recommended.score**(gauge)                                                                                    | Score based on the count of recommended checks*Shown as percent*                               |
| **servicenow\_performance.cmdb\_health\_scorecard.rel\_duplicate.failed**(count)                                                                                | Count of duplicate relationships that failed checks                                            |
| **servicenow\_performance.cmdb\_health\_scorecard.rel\_orphan.failed**(count)                                                                                   | Count of orphan relationships that failed checks                                               |
| **servicenow\_performance.cmdb\_health\_scorecard.rel\_stale.failed**(count)                                                                                    | Count of stale relationships that failed checks                                                |
| **servicenow\_performance.cmdb\_health\_scorecard.relationship.score**(gauge)                                                                                   | Score based on the CI relationship checks*Shown as percent*                                    |
| **servicenow\_performance.cmdb\_health\_scorecard.required.failed**(count)                                                                                      | Count of required checks that failed                                                           |
| **servicenow\_performance.cmdb\_health\_scorecard.required.score**(gauge)                                                                                       | Score based on the count of required checks*Shown as percent*                                  |
| **servicenow\_performance.cmdb\_health\_scorecard.staleness.failed**(count)                                                                                     | Count of stale CIs that failed checks                                                          |
| **servicenow\_performance.cmdb\_health\_scorecard.staleness.score**(gauge)                                                                                      | Score based on the count of stale CIs*Shown as percent*                                        |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.active\_application\_vulnerable\_items\_without\_risk\_score.score**(gauge)      | Score based on active application vulnerable items without a risk score*Shown as percent*      |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.active\_container\_vulnerable\_items\_without\_risk\_score.score**(gauge)        | Score based on active container vulnerable items without a risk score*Shown as percent*        |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.active\_records\_without\_risk\_score.score**(gauge)                             | Score based on active records without a risk score*Shown as percent*                           |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.active\_vulnerable\_items\_without\_risk\_score.score**(gauge)                   | Score based on active vulnerable items without a risk score*Shown as percent*                  |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.application\_vulnerable\_items\_without\_remediation\_target.score**(gauge)      | Score based on application vulnerable items without a remediation target*Shown as percent*     |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.auto\_close\_container\_vulnerable\_items.score**(gauge)                         | Score based on auto-closed container vulnerable items                                          |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.auto\_close\_stale\_records.score**(gauge)                                       | Score based on auto-closed stale records                                                       |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.auto\_delete\_rules.score**(gauge)                                               | Score based on auto-delete rules                                                               |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.business\_rules\_on\_the\_detections\_table.score**(gauge)                       | Score based on business rules on the detections table                                          |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.closed\_application\_vulnerable\_items\_without\_substate.score**(gauge)         | Score based on closed application vulnerable items without substate*Shown as percent*          |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.closed\_container\_vulnerable\_items\_without\_substate.score**(gauge)           | Score based on closed container vulnerable items without substate*Shown as percent*            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.closed\_records\_without\_substate.score**(gauge)                                | Score based on closed records without substate*Shown as percent*                               |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.closed\_vulnerable\_items\_without\_substate.score**(gauge)                      | Score based on closed vulnerable items without substate*Shown as percent*                      |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.container\_image\_vulnerable\_items\_without\_remediation\_target.score**(gauge) | Score based on container image vulnerable items without a remediation target*Shown as percent* |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.customized\_business\_rules.score**(gauge)                                       | Score based on customized business rules                                                       |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.customized\_script\_includes.score**(gauge)                                      | Score based on customized script includes                                                      |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.defective\_active\_application\_vulnerable\_items.score**(gauge)                 | Score based on defective active application vulnerable items*Shown as percent*                 |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.defective\_active\_container\_vulnerable\_items.score**(gauge)                   | Score based on defective active container vulnerable items*Shown as percent*                   |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.defective\_active\_records.score**(gauge)                                        | Score based on defective active records*Shown as percent*                                      |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.defective\_active\_vulnerable\_items.score**(gauge)                              | Score based on defective active vulnerable items*Shown as percent*                             |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.disabled\_integrations.score**(gauge)                                            | Score based on disabled integrations                                                           |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.discovered\_item\_matching\_rate.score**(gauge)                                  | Score based on discovered item matching rate*Shown as percent*                                 |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.discovered\_item\_with\_no\_ci.score**(gauge)                                    | Score based on discovered items with no CI                                                     |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.failed\_integration\_runs\_in\_the\_past\_week.score**(gauge)                    | Score based on failed integration runs in the past week                                        |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.failed\_or\_stalled\_background\_jobs.score**(gauge)                             | Score based on failed or stalled background jobs                                               |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.items\_without\_remediation\_target.score**(gauge)                               | Score based on items without a remediation target*Shown as percent*                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.pa\_installed\_but\_not\_activated.score**(gauge)                                | Score based on PA installed but not activated                                                  |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.remediation\_tasks\_without\_assignment\_group.score**(gauge)                    | Score based on remediation tasks without an assignment group                                   |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.remediation\_tasks\_without\_assignment\_group\_for\_avr.score**(gauge)          | Score based on remediation tasks without an assignment group for AVR                           |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.remediation\_tasks\_without\_assignment\_group\_for\_cvr.score**(gauge)          | Score based on remediation tasks without an assignment group for CVR                           |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.remediation\_tasks\_without\_assignment\_group\_for\_vr.score**(gauge)           | Score based on remediation tasks without an assignment group for VR                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.slow\_business\_rules\_and\_scripts.score**(gauge)                               | Score based on slow business rules and scripts                                                 |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.slow\_queries.score**(gauge)                                                     | Score based on slow queries                                                                    |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.stalled\_integrations.score**(gauge)                                             | Score based on stalled integrations                                                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unassigned\_active\_application\_vulnerable\_items.score**(gauge)                | Score based on unassigned active application vulnerable items*Shown as percent*                |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unassigned\_active\_records.score**(gauge)                                       | Score based on unassigned active records*Shown as percent*                                     |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unassigned\_active\_vulnerable\_items.score**(gauge)                             | Score based on unassigned active vulnerable items*Shown as percent*                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unassigned\_container\_vulnerable\_items.score**(gauge)                          | Score based on unassigned container vulnerable items*Shown as percent*                         |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.ungrouped\_active\_application\_vulnerable\_items.score**(gauge)                 | Score based on ungrouped active application vulnerable items*Shown as percent*                 |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.ungrouped\_active\_container\_vulnerable\_items.score**(gauge)                   | Score based on ungrouped active container vulnerable items*Shown as percent*                   |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.ungrouped\_active\_records.score**(gauge)                                        | Score based on ungrouped active records*Shown as percent*                                      |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.ungrouped\_active\_vulnerable\_items.score**(gauge)                              | Score based on ungrouped active vulnerable items*Shown as percent*                             |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unmatched\_cis\_in\_discovered\_items.score**(gauge)                             | Score based on unmatched CIs in discovered items                                               |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.unused\_ci\_lookup\_rules.score**(gauge)                                         | Score based on unused CI lookup rules                                                          |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.upgrade\_conflicts.score**(gauge)                                                | Score based on upgrade conflicts                                                               |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_data\_updates.vulnerable\_items\_without\_remediation\_target.score**(gauge)                   | Score based on vulnerable items without a remediation target*Shown as percent*                 |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.configuration.score**(gauge)                                                           | Score based on configuration health*Shown as percent*                                          |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.data\_health.score**(gauge)                                                            | Score based on data health*Shown as percent*                                                   |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.implementation\_health.score**(gauge)                                                  | Score based on implementation health*Shown as percent*                                         |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.integration\_health.score**(gauge)                                                     | Score based on integration health*Shown as percent*                                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.overall\_health.score**(gauge)                                                         | Score based on overall health*Shown as percent*                                                |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.performance.score**(gauge)                                                             | Score based on performance health*Shown as percent*                                            |
| **servicenow\_performance.sn\_sec\_analytics\_health\_dashboard\_updates.process\_health.score**(gauge)                                                         | Score based on process health*Shown as percent*                                                |

## Privacy policy{% #privacy-policy %}

Datadog collects Business Service, Assignment Group, email, name, sysID, and username to populate corresponding fields in ServiceNow. Processing of any personal data collected by Datadog in connection with this integration is subject to Datadog's [privacy policy](https://www.datadoghq.com/legal/privacy/).

## Support{% #support %}

Need additional help? Contact [Datadog support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

- [Manage your infrastructure with ServiceNow CMDB and Datadog](https://www.datadoghq.com/blog/servicenow-cmdb-it-management-datadog/)
- [ServiceNow blog](https://www.datadoghq.com/blog/create-servicenow-tickets-from-datadog-alerts/)
- [Integration Guides](https://docs.datadoghq.com/integrations/guide/#servicenow-guides)
