Dirscan subdirectory example

Document ID : KB000016166
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

I have a path that is consistent on many servers for the majority of the path with the exception of some intermediate directories. 

Example:

server1 = x:\servicenow\999999\agent\logs\agent0.log.0

server2 = x:\servicenow\111111\agent\logs\agent0.log.0

How would I configure something like this?

Answer:

Below is an sample of how this can be managed:

Directory = Path starting directory (consistent on each machine)

Pattern = Part of the path including the file that is consistent on each machine

Recurse into subdirectories = checked

dirscan_example.png