--- title: Configuration file tracking description: The horizontal discovery process can find configuration files that belong to certain applications and add those configuration files to the CMDB. You can track the changes to these files by comparing them to previous versions. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery/tracked-config-files.html release: australia product: Discovery classification: discovery topic_type: concept last_updated: "2026-10-09" reading_time_minutes: 7 breadcrumb: [Advanced Discovery configuration, Configuring Discovery, Discovery, ITOM Visibility, IT Operations Management] --- # Configuration file tracking The horizontal discovery process can find configuration files that belong to certain applications and add those configuration files to the CMDB. You can track the changes to these files by comparing them to previous versions. **Warning:** Configuration files contain sensitive system information. To prevent unauthorized access, ensure that access control lists \(ACL\) are placed on the Tracked Configuration file table \[cmdb\_ci\_config\_file\_tracked\]. Only allow authorized users to view this table or uncheck the **Save Content** setting. ## Components for configuration file tracking - **CI type** All applications and hosts in your organization must have a corresponding configuration item \(CI\) type, which is necessary for discovering and processing applications and hosts correctly. In a base system, many CI types have configuration file paths defined for them. You can add new or modify existing definitions for tracking configuration files. See [Modify tracking changes in configuration files]() for instructions. - **Patterns** Configuration file tracking is available for patterns that discover applications. On the pattern, you can create tracked file definitions that specify the CI type to which the application CI belongs and the path of the configuration file. Specify as many tracked file definitions as needed. You can also specify whether you want to save the contents of configuration files so you can view and compare the contents of different versions. **Note:** Configuration file tracking is not available for discoveries performed by traditional probes and sensors. The classifier that triggers the pattern must specify the Horizontal Pattern probe, which in turn, must specify the pattern. If you upgrade your instance to the current version, not all classifiers are configured to use patterns for discovery by default. - **CMDB** All configuration files are saved as a CI in the Tracked Configuration file \[cmdb\_ci\_config\_file\_tracked\] table. If you enable the content to be saved, these CI records provide the contents of the configuration files, including previous versions. From the configuration file CI record, you can compare different versions. ## Dependency maps and application service maps Both dependency maps and service instance maps display tracked configuration files. The relationship between a configuration file and its host is a contains relationship. The application contains the configuration file. For example, this IIS web server contains three tracked configuration files: \[Omitted image "tracked-config-file.png"\] Alt text: CI containing racked configuration files Sometimes you organize CI types as a main CI type and its related CI types. On a service instance map, Service Mapping shows changes to configuration files of related CIs for the main CIs in inclusions. In inclusions, the system treats applications hosted on a server as independent objects. For example, the Tomcat WAR CI appears separate from its host, the Tomcat CIs. In this case, Service Mapping shows changes to configuration files of Tomcat WAR when you select Tomcat. In addition, Service Mapping displays changes to configuration files of the hardware server hosting inclusions. In this example, it is a Linux server: \[Omitted image "MapInclusionTomcat.png"\] Alt text: Map showing an inclusion with a host ## Deletion strategy You can specify what you want to do with tracked configuration file CI records when discovery can no longer find them. You can keep the configuration file CI record, automatically delete it, delete only the CI relationships to it, or mark it absent. ## Discovery patterns that support configuration file tracking by default These patterns provide tracked file definitions by default:
| Classifier | Pattern | CI Type | File path of tracked file |
|---|---|---|---|
| [Apache Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r_DataCollDiscoApacheWebServers.md) | Apache On Unix Pattern Apache On Windows Pattern | Apache Web Server \[cmdb\_ci\_apache\_web\_server\] | `$config_file` |
| [MySQL Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/c_MySQLDiscovery.md) | MySQL server On Windows and Linux Pattern | MySQL Instance \[cmdb\_ci\_db\_mysql\_instance\] | `$config_file` |
| [Microsoft IIS Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r_DataCollDiscoMicrosoftIISServers.md) | IIS | Microsoft iis Web Server \[cmdb\_ci\_microsoft\_iis\_web\_server\] | `EVAL(javascript: var rtrn = '';var winDir = CTX.getCommandManager().shellCommand("echo %WinDir%", false, null, null, CTX);rtrn = winDir.trim() + '\\System32\\Inetsrv\\Config\\*.config';)` |
| IIS Virtual Directory \[cmdb\_ci\_iisdirectory\] | `$install_directory + "\*.config"` | ||
| [TIBCO BusinessWorks and EMS](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/service-mapping/mapping-services-tibco.md) | ActiveMatrix BusinessWorks | ActiveMatrix Business Works \[cmdb\_ci\_appl\_tibco\_matrix\] | `$config_file` |
| Enterprise Message Service | Tibco Enterprise Message Service \[cmdb\_ci\_appl\_tibco\_message\] | `$config_file` | |
| [Oracle](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/c_OracleDatabaseDiscovery.md) | Oracle DB on Windows Pattern | Oracle Instance \[cmdb\_ci\_db\_ora\_instance\] | `$install_directory + "\network\admin\*.ora"` |
| Oracle Instance \[cmdb\_ci\_db\_ora\_instance\] | `$install_directory + "\dbs\*.ora"` | ||
| Oracle DB on Unix Pattern | Oracle Instance \[cmdb\_ci\_db\_ora\_instance\] | `$install_directory + "/dbs/*.ora"` | |
| Oracle Instance \[cmdb\_ci\_db\_ora\_instance\] | `$install_directory + "/network/admin/*.ora"` | ||
| [Tomcat](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r_DataCollDiscoTomcatServers.md) | Tomcat | Tomcat \[cmdb\_ci\_app\_server\_tomcat\] | `$install_directory + "/conf/server.xml"` |
| Tomcat WAR \[cmdb\_ci\_app\_server\_tomcat\_war\] | `$install_directory + "/WEB-INF/web.xml"` | ||
| [WMB](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r_IBMWMB.md) | WMB On Unix Pattern | IBM WebSphere Message Broker \[cmdb\_ci\_appl\_ibm\_wmb\] | `$install_directory + "/*/etc/config/*/*.prop"` |
| WMB On Windows Pattern | IBM WebSphere Message Broker \[cmdb\_ci\_appl\_ibm\_wmb\] | `$install_directory + "\*\etc\config\*\*.prop"` | |
| [WMQ](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/r-IBMWebsphereMQ.md) | WMQ On Windows Pattern | IBM MQ Manager \(formerly IBM WebSphere MQ\) \[cmdb\_ci\_appl\_ibm\_wmq\] | `$install_directory + "\*\config\*"` |
| WMQ On Windows Pattern | IBM MQ Manager \[cmdb\_ci\_appl\_ibm\_wmq\] | `$install_directory + "/bin/*.sh"` |