12 Mar 2023
07:36 AM
- last edited on
13 Mar 2023
12:58 AM
by
MaciejNeumann
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.
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