Back to Geneos FAQ

How to monitor a file whose name has characters between the date?

You can use the FKM plugin, with date codes invoked within the filename pattern.

Suppose you have file that is created daily in which the filename pattern includes the current date. For example, the current date is September 16th, 2021 and a file was created with the name Test_File-y2021-m09-d16.logand you want it detected daily. Screenshot You can use the the following date format code, Test_File-y<today %Y>-m<today %m>-d<today %d>.log, as your Source filename. Screenshot Below is how the FKM view would look like: Screenshot Alternatively, you can do the same for date codes. Using the same example as seen above, with the exception of applying the appropriate date code as seen below: Screenshot Attached is the “Date Format” sampler. Please note this sampler was set up on version GA5.9.0.

Related Articles - Date Generation

["Geneos"] ["Geneos > Netprobe"] ["FAQ"]

Was this topic helpful?