Skip to content

Commit faa9eec

Browse files
janine-cestherk15
andauthored
Move ServiceNow integration config content to guides (#31411)
* First chunk of adaptation work * Finish ITOM/ITSM draft * Bit of ITOM/ITSM cleanup * Add guide pages from Esther's doc * Remove colons from guides page * Guide cleanup * Apply feedback * Apply edits * Add SN monitor example and context * Make impact/urgency defs optional * Apply Esther's amazing suggestions! Co-authored-by: Esther Kim <[email protected]> --------- Co-authored-by: Esther Kim <[email protected]>
1 parent f560dba commit faa9eec

11 files changed

+580
-20
lines changed

content/en/integrations/guide/_index.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cascade:
99
subcategory: Integrations Guides
1010
---
1111

12-
{{< whatsnext desc="General guides:" >}}
12+
{{< header-list header="General guides" >}}
1313
{{< nextlink href="integrations/guide/requests" tag=" documentation" >}}Request Datadog integrations{{< /nextlink >}}
1414
{{< nextlink href="/integrations/guide/reference-tables/" tag=" Documentation" >}}Add Custom Metadata with Reference Tables{{< /nextlink >}}
1515
{{< nextlink href="integrations/guide/source-code-integration" tag=" Documentation" >}}Datadog Source Code Integration{{< /nextlink >}}
@@ -31,9 +31,9 @@ cascade:
3131
{{< nextlink href="integrations/guide/application-monitoring-vmware-tanzu" tag=" VMWare Tanzu" >}}Datadog Application Monitoring for VMware Tanzu{{< /nextlink >}}
3232
{{< nextlink href="integrations/guide/cluster-monitoring-vmware-tanzu" tag=" VMWare Tanzu" >}}Datadog Cluster Monitoring for VMware Tanzu{{< /nextlink >}}
3333
{{< nextlink href="integrations/guide/fips-integrations" tag=" fips" >}}FIPS Verified Agent Integrations{{< /nextlink >}}
34-
{{< /whatsnext >}}
34+
{{< /header-list >}}
3535

36-
{{< whatsnext desc="AWS guides:" >}}
36+
{{< header-list header="AWS guides" >}}
3737
{{< nextlink href="getting_started/integrations/aws/" tag=" AWS" >}}AWS integration automatic setup with CloudFormation{{< /nextlink >}}
3838
{{< nextlink href="integrations/guide/aws-terraform-setup" tag=" AWS" >}}AWS integration automatic setup with Terraform{{< /nextlink >}}
3939
{{< nextlink href="integrations/guide/aws-organizations-setup" tag=" AWS" >}}AWS integration multi-account setup for Organizations{{< /nextlink >}}
@@ -45,13 +45,14 @@ cascade:
4545
{{< nextlink href="integrations/guide/amazon_cloudformation" tag=" AWS" >}}Using Amazon CloudFormation{{< /nextlink >}}
4646
{{< nextlink href="integrations/guide/events-from-sns-emails" tag=" AWS" >}}Create Datadog events from Amazon SNS emails{{< /nextlink >}}
4747
{{< nextlink href="integrations/guide/aws-integration-and-cloudwatch-faq" tag=" AWS" >}}AWS integration and CloudWatch FAQ{{< /nextlink >}}
48-
{{< /whatsnext >}}
48+
{{< /header-list >}}
4949

50-
{{< whatsnext desc="AWS Marketplace guides:" >}}
50+
{{< header-list header="AWS Marketplace guides:" >}}
5151
{{< nextlink href="integrations/guide/aws-marketplace-datadog-trial" tag=" AWS Marketplace" >}}AWS Marketplace Datadog trial setup{{< /nextlink >}}
52-
{{< /whatsnext >}}
5352

54-
{{< whatsnext desc="Azure guides:" >}}
53+
{{< /header-list >}}
54+
55+
{{< header-list header="Azure guides" >}}
5556
{{< nextlink href="integrations/guide/azure-manual-setup" tag=" Azure" >}}Azure manual setup guide{{< /nextlink >}}
5657
{{< nextlink href="integrations/guide/azure-native-manual-setup" tag=" Azure" >}}Azure Native manual setup guide{{< /nextlink >}}
5758
{{< nextlink href="integrations/guide/azure-programmatic-management" tag=" Azure" >}}Azure integration programmatic management guide{{< /nextlink >}}
@@ -65,27 +66,33 @@ cascade:
6566
{{< nextlink href="integrations/guide/powered-down-azure-vm-on-infrastructure-list" tag=" Azure" >}}Powered-down Azure VMs on the Infrastructure list{{< /nextlink >}}
6667
{{< nextlink href="integrations/guide/powershell-command-to-install-azure-datadog-extension" tag=" Azure" >}}Commands to install the Azure Datadog extension{{< /nextlink >}}
6768
{{< nextlink href="integrations/guide/azure-graph-api-permissions" tag=" Azure" >}}Microsoft Graph API Permissions for Monitoring Azure{{< /nextlink >}}
68-
{{< /whatsnext >}}
69+
{{< /header-list >}}
6970

70-
{{< whatsnext desc="Google Cloud guides:" >}}
71+
{{< header-list header="Google Cloud guides" >}}
7172
{{< nextlink href="integrations/guide/gcp-metric-discrepancy" tag=" gcp" >}}Google Cloud Metric Discrepancy{{< /nextlink >}}
72-
{{< /whatsnext >}}
73+
{{< /header-list >}}
7374

74-
{{< whatsnext desc="JMX guides:" >}}
75+
{{< header-list header="JMX guides" >}}
7576
{{< nextlink href="integrations/guide/running-jmx-commands-in-windows" tag=" jmx" >}}Running JMX commands in Windows{{< /nextlink >}}
7677
{{< nextlink href="integrations/guide/collecting-composite-type-jmx-attributes" tag=" jmx" >}}Collecting composite-type JMX attributes{{< /nextlink >}}
7778
{{< nextlink href="integrations/guide/use-bean-regexes-to-filter-your-jmx-metrics-and-supply-additional-tags" tag=" jmx" >}}Use Bean regexes to filter your JMX metrics and supply additional tags{{< /nextlink >}}
7879
{{< nextlink href="integrations/guide/jmx_integrations/" tag=" jmx" >}}Which integrations use Jmxfetch?{{< /nextlink >}}
7980
{{< nextlink href="integrations/guide/jmxfetch-fips/" tag=" jmx" >}}JMXFetch FIPS-140 mode{{< /nextlink >}}
80-
{{< /whatsnext >}}
81+
{{< /header-list >}}
82+
83+
{{< header-list header="ServiceNow guides" >}}
84+
{{< nextlink href="integrations/guide/servicenow-itom-itsm-setup" >}}Set up ServiceNow ITOM and ITSM{{< /nextlink >}}
85+
{{< nextlink href="integrations/guide/servicenow-cmdb-enrichment-setup" >}}Set up ServiceNow CMDB Enrichment{{< /nextlink >}}
86+
{{< nextlink href="integrations/guide/servicenow-service-graph-connector-setup" >}}Set up ServiceNow Service Graph Connector{{< /nextlink >}}
87+
{{< /header-list >}}
8188

82-
{{< whatsnext desc="Database guides:" >}}
89+
{{< header-list header="Database guides" >}}
8390
{{< nextlink href="integrations/guide/collect-more-metrics-from-the-sql-server-integration" tag=" SQL Server" >}}Collect more metrics from the SQL Server integration{{< /nextlink >}}
8491
{{< nextlink href="integrations/guide/collect-sql-server-custom-metrics" tag=" SQL Server" >}}Collect SQL Server custom metrics{{< /nextlink >}}
8592
{{< nextlink href="integrations/guide/use-wmi-to-collect-more-sql-server-performance-metrics" tag=" SQL Server" >}}Use WMI to collect more SQL Server performance metrics{{< /nextlink >}}
8693
{{< nextlink href="integrations/guide/connection-issues-with-the-sql-server-integration" tag=" SQL Server" >}}Connection issues with the SQL Server integration{{< /nextlink >}}
8794
{{< nextlink href="integrations/guide/mysql-custom-queries" tag=" MySQL" >}}MySQL custom queries{{< /nextlink >}}
8895
{{< nextlink href="integrations/guide/oracle-check-upgrade-7.50.1" tag=" Oracle" >}}Configuring the Oracle Integration on Agent 7.50.1+{{< /nextlink >}}
8996
{{< nextlink href="integrations/guide/deprecated-oracle-integration" tag=" Oracle" >}}Configuring the Oracle Integration on Agent versions lower than 7.50.1{{< /nextlink >}}
90-
{{< /whatsnext >}}
97+
{{< /header-list >}}
9198

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
---
2+
title: Set up ServiceNow CMDB Enrichment
3+
further_reading:
4+
- link: "/integrations/servicenow/"
5+
tag: "Documentation"
6+
text: "ServiceNow integration"
7+
- link: https://www.datadoghq.com/blog/servicenow-cmdb-it-management-datadog
8+
tag: Blog
9+
text: Manage your infrastructure with ServiceNow CMDB and Datadog
10+
---
11+
12+
## Overview
13+
14+
The **ServiceNow Integration** uses ServiceNow's Configuration Management Database (CMDB) to enrich and contextualize your data within Datadog. This integration provides the following key capabilities:
15+
16+
- [**Host Tagging**](#host-tagging): Enriches Datadog hosts with metadata from the ServiceNow CMDB, which allows for improved data organization and filtering.
17+
- [**Service Tagging**](#service-tagging): Populates the Datadog Service Catalog with services and their associated metadata from the ServiceNow CMDB.
18+
- [**Network Device Tagging**](#network-device-tagging): Adds tags to network devices monitored by Datadog, using metadata from the ServiceNow CMDB.
19+
- [**Reference Tables**](#reference-tables): Automatically enriches logs and events in Datadog with additional fields from ServiceNow CIs by mapping value fields to a primary key.
20+
21+
## Host tagging
22+
23+
Enrich your Datadog hosts with ServiceNow CMDB metadata through host tagging.
24+
To enable ingestion of host tags:
25+
26+
1. In ServiceNow, configure a [Query Builder][1] query that returns all of the hosts you wish to tag in Datadog. Schedule the query to execute at your desired refresh interval and save it.
27+
1. Navigate to Datadog's ServiceNow integration tile. In the **Configure** section, in the **CMDB Enrichment** tab, select **Host Tagging**.
28+
1. Under **Query Configuration**, click **Add New Query**.
29+
1. Select the **ServiceNow Instance** and the **Query** from the dropdown menus.
30+
1. Select a value for the **Hostname Column** that maps your query's root CI hostname field to Datadog's hostname field. The dropdown options come from the starting node of your querybuilder query.
31+
1. Select any optional field name remapping with **Column Name Maps**. By default, tags are applied to the host in the format `tagName:columnValue`, where `tagName` is a combination of the table name and the column name.
32+
1. Click **Save**.
33+
34+
Expect host tags to populate in Datadog shortly after your queries' scheduled executions.
35+
<!-- ![Screenshot of Host info tab showing ServiceNow host tags][image1] -->
36+
37+
Monitor the ingestion process in the Datadog [Events Explorer][2] by scoping your search query on `source:servicenow`.
38+
<!-- ![Screenshot showing one running ingestion][image2] -->
39+
40+
### Additional Non-CMDB field tagging
41+
42+
Some ServiceNow tables are non-CMDB and cannot be selected in the Query Builder. To enrich Datadog hosts with tags from these tables, click **Additional Fields** on the configuration tile and configure a host tagging query as described above, providing a full dot-walked path. Paths should start from the first attribute name on the root table configured for the query. For example, entering `vendor.manufacturer.name` for a query with root CI `cmdb_ci_server` populates hosts with the tag `cmdb_ci_server_manufacturer_name`.
43+
44+
**Note**: Only dot-walkable paths that are supported by the ServiceNow Table API are available for use in Additional Fields. Many-to-many relationships may not work out of the box and may require additional configuration.
45+
46+
## Service tagging
47+
48+
Enrich your Datadog Service Catalog with ServiceNow CMDB metadata through service tagging.
49+
With service tagging, you can populate your Datadog [Service Catalog][3] with services from your ServiceNow CMDB.
50+
51+
To enable ingestion of service data:
52+
53+
1. In ServiceNow, configure a [Query Builder][1] query that returns all of the services with which you wish to enrich the Service Catalog. Schedule the query to execute at your desired refresh interval and save it.
54+
1. Navigate to Datadog's ServiceNow integration tile. In the **Configure** section, in the **CMDB Enrichment** tab, select **Service Tagging**.
55+
1. Under **Query Configuration**, click **Add New Query**.
56+
1. Select the **ServiceNow Instance** and the **Query** from the dropdown menus.
57+
1. Select a value from the **Service Name Column** dropdown menu. The value matches the column name on your query's root service CI, and populates the service name in the service catalog.
58+
1. Configure schema mappings to pull additional metadata about your service into the service catalog. See [Service definitions][4] for details. For Datadog to accept the ingestion, each field in the mapping needs to be of the correct type to map to the service catalog service definition schema.
59+
1. Click **Save**.
60+
61+
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][2] and search for events with `source:servicenow`.
62+
<!-- ![Screenshot of the Service Configuration panel showing metadata populated from ServiceNow][image3] -->
63+
64+
## Network device tagging
65+
66+
Add tags to your network devices in Datadog populated with data from your ServiceNow CMDB.
67+
68+
With device tagging, you can dynamically enrich network devices monitored by Datadog [Network Device Monitoring][5] with device metadata from your ServiceNow CMDB.
69+
70+
To enable ingestion of device tags:
71+
72+
1. Configure a [Query Builder][1] query in your ServiceNow instance. Make sure it is returning the device IP address. Schedule the query to execute at your desired refresh interval.
73+
1. If you are using a custom IP namespace in Datadog, you need to add it to ServiceNow. Create a column on the Network device CI called `u_dd_device_namespace`, populated by the corresponding namespace for each device. If this column is not present, ServiceNow uses the default namespace.
74+
1. After the query is saved in ServiceNow, go to Datadog's ServiceNow integration tile. In the **Configure** section, in the **CMDB Enrichment** tab, select **Device Tagging**.
75+
1. Under **Query Configuration**, click **Add New Query**.
76+
1. Select the **ServiceNow Instance** and the **Query** from the dropdown menus.
77+
1. Select the **IP Address** column that maps your query's IP Address field to Datadog's IP Address field.
78+
1. Select any optional field name remappings.
79+
1. Click **Save**.
80+
81+
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.
82+
83+
Monitor the ingestion process in the Datadog [Events Explorer][2] by scoping your search query on `source:servicenow`.
84+
<!-- ![Screenshot showing one running ingestion][image4] -->
85+
86+
## Reference Tables
87+
88+
Use [Reference Tables][7] 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.
89+
To enable ingestion of Reference Tables:
90+
91+
1. Configure a [Query Builder][8] query in your ServiceNow instance. Schedule the query to run at your desired refresh interval and save it.
92+
1. Select **Add New Query** and choose your query from the dropdown menu.
93+
1. In the primary key dropdown, select the column name you want to use as your primary key.<br />Optionally, create a [Processing Pipeline][9] with this primary key to enrich and correlate logs and events.
94+
1. Enter a name for your reference table. The Reference Table name must be unique.
95+
1. Click **Save**. The [Reference Table][7] populates with the data from the query shortly after saving.
96+
97+
### Additional non-CMDB fields in Reference Tables
98+
99+
Some ServiceNow tables are non-CMDB and cannot be selected in the Query Builder. To include data from these tables, you can use **Additional Fields** by specifying a **full dot-walked path**. These fields are added as extra columns to the reference table, along with the ones defined by the Query Builder.
100+
101+
**Note**: Only paths supported by the ServiceNow Table API are available for use in Additional Fields. The generated columns are based on the root table name and the last two columns of the field spec. For example, `vendor.manufacturer.name` generates a column named `cmdb_ci_server_manufacturer_name`, and `location.city` generates a column named `cmdb_ci_server_location_city` assuming a root table of `cmdb_ci_server`.
102+
103+
## Troubleshooting
104+
105+
For tagging to work correctly, ensure that the following are true in your system:
106+
107+
- The user who created and executes the Query Builder query matches a username in your Datadog configuration. The user in ServiceNow must have the role `cmdb_query_builder_read`.
108+
- The number of results returned by your query must be less than or equal to the `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**.
109+
- All CIs configured in your Query Builder query must have a `1` label. This ensures you have not created any duplicate CIs, which the parser does not support.
110+
111+
## Limitations
112+
113+
- Ingestion is limited to 100k hosts per execution.
114+
- Updates to hosts and devices are throttled to a few thousand per hour. Take this limit into consideration when choosing your schedule interval.
115+
- Host aliases in Datadog are case sensitive. Your ingested CMDB hostnames must exactly match the corresponding hostnames in Datadog.
116+
- Network device tagging is limited to [SNMP devices][6].
117+
- Deletions and schema updates of existing tables are not supported.
118+
119+
## Further reading
120+
121+
{{< partial name="whats-next/whats-next.html" >}}
122+
123+
[1]: https://docs.servicenow.com/bundle/xanadu-servicenow-platform/page/product/configuration-management/concept/cmdb-query-builder-landing-page.html
124+
[2]: https://app.datadoghq.com/event/explorer
125+
[3]: https://docs.datadoghq.com/tracing/service_catalog/
126+
[4]: https://docs.datadoghq.com/tracing/service_catalog/adding_metadata/
127+
[5]: https://docs.datadoghq.com/network_monitoring/devices/
128+
[6]: https://docs.datadoghq.com/network_monitoring/devices/snmp_metrics/
129+
[7]: https://app.datadoghq.com/reference-tables
130+
[8]: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/configuration-management/task/use-cmdb-query-builder.html
131+
[9]: https://app.datadoghq.com/event/pipelines

0 commit comments

Comments
 (0)