12 Mar 2023 02:36 PM - last edited on 13 Jun 2023 03:28 PM by Michal_Gebacki
Hi Dynatrace Community family,
hope all of us are good and well, I have a small query, I have setup file system monitoring in Dynatrace on one Ec2 instance.
I can see Dynatrace is able to pickup the file when I give a normal file, but I am facing challenge while providing the date format to a file.
Can any one help me on this?
Regards,
Yashwanth.
Solved! Go to Solution.
13 Mar 2023 10:53 AM
To match today's date dynamically, simply add whatever date format your file name uses in the extension configuration screen.
For instance to match c:\userlogs\hello_12032022.txt, use c:\userlogs\hello_DDMMYYY.txt.
To match c:\userlogs\hello_20220312.txt, use c:\userlogs\hello_YYYYMMDD.txt