Troubleshoot CMDB identification engine errors in Service MappingIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } .spanColor { color: #646464; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Troubleshoot common CMDB identification engine errors encountered during Service Mapping and Discovery, including unexpected record creation, duplicate Configuration Items (CIs), duplicate entry points, and dependency issues. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All supported releases Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } A new record was unexpectedly created, or an expected record was not created To investigate unexpected record creation or missing records: Go to Service Mapping > Properties and enable verbose mode for the identification engine. Without verbose mode, only errors appear in the system log.Go to System Logs and filter messages containing "identification_engine", "Output=", or "Input=".Open the input message in a JSON editor. The input shows the CI and relationship provided to the identification engine.Locate the corresponding output for the input. Input and output entries typically appear close together in the logs with the same number of items and relations. If there are multiple input/output records, match them by className (type) or sysid.Review the output to determine the result: If the CI exists in the database, identificationAttempts - attemptResult shows MATCHED and the operation is NO_CHANGE. The output also shows the attributes used to match.If there is no match, the operation is INSERT. The number of attempts corresponds to the number of identification rules and their criteria. Duplicate CIs appear in the database CIs that appear to be duplicates may actually be distinct records due to dependency rules. For example, Tomcat WARs may be defined identically but reside on different servers, making them separate CIs. To determine whether CIs are true duplicates: Go to the identification rule for the CI type.Review the criterion attributes.Open the CIs that appear to be duplicates.Compare the dependency relationships. CIs may appear identical based on the identification rule criteria but have dependencies with different CIs, making them distinct records. CI does not meet identification or dependency criteria CI may fail identification if it does not meet the identification rule criteria or the dependency criteria. For example, an Apache CI may exist in the database without the expected dependency on a Linux server. To troubleshoot these issues: Enable verbose logging mode for the identification engine (see the first scenario in this article, steps 1–2).Filter system logs using the "identification_engine" prefix and compare all input/output records using a JSON editor.Go to Identification/Reconciliation > Identification Logs to review descriptive errors and the associated input/output data.Go to Identification/Reconciliation > Metadata Editor to review or modify the identification rules. To test changes using the REST API: Open the REST API Explorer.Select the Identify CI (Post) endpoint under Identification and Reconciliation.On the Request tab, select Raw Body and paste the corrected input payload.Select Send and review the response. Common errors in the output payload The following errors may appear in the identification engine output payload: Missing identification rules — The output indicates that an identification rule is missing for the CI type.Missing attributes — The output indicates missing matching attributes or a required attribute. This can occur when a field is defined as mandatory but the pattern does not populate a value for it. The glide.required.attribute.enabled property controls whether the identification engine enforces mandatory attributes. This property is set to true by default. Setting it to false causes the identification engine to skip mandatory attribute validation. This error also appears in the Discovery logs.Duplicate — The output indicates duplicate CIs. See the duplicate CIs scenario for troubleshooting steps. Common dependency issues The following dependency issues can affect CI identification: Incorrect definition of hosting or containment rulesNo dependencies present in the payload, resulting in a "Missing Dependency" errorMultiple dependencies present in the payload For dependency troubleshooting, follow the steps in the CI identification criteria scenario.