22 Nov 2022 05:32 AM - last edited on 22 Nov 2022 07:52 AM by MaciejNeumann
We got a requirement to monitor the log file on the windows server on one specific path.
The log file name will be something like this ABC_DEF_GHI_20221115160001.txt
From 8 AM -8 PM CEST, Evey hour the log file will be created 12 times a day with the same name till ABC_DEF_GHI_ whereas the timestamp 20221115160001 gets changed (Per day 12 separate log files will be created in the path with the same name but with different timestamps). The client is expecting to get an alert when the log file is not created every hour.
Any ideas on how to solve this use case?
Thanks in Advance!!
Maybe you can use it.
Filesystem monitoring | Dynatrace Hub
I hope it helps.
Thanks for the update.
I have deployed that plugin. But, in the Configuration settings of the plugin, under the File exists field I tried to provide the regular expression (as the timestamp in the filename is changing dynamically every hour) but the extension is not accepting that, it's throwing an error. Please find the attached screenshot.