# File system monitoring query

**URL:** <https://community.dynatrace.com/t/file-system-monitoring-query/38793>\
**Category:** Cloud platforms\
**Tags:** aws\
**Created:** [March 12, 2023, 2:36pm UTC](https://community.dynatrace.com/t/file-system-monitoring-query/38793 "2023-03-12T14:36:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yash](https://avatars.discourse-cdn.com/v4/letter/y/f17d59/32.png) [@Yash](https://community.dynatrace.com/u/Yash)\
**Post date:** [March 12, 2023, 2:36pm UTC](https://community.dynatrace.com/t/file-system-monitoring-query/38793/1 "2023-03-12T14:36:46Z")

</div>

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.

 ![ec2.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/acef7ac3c1ef1c877a5cc8c02beaa5ecc32844cb.png)  
 ![ec21.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/5/55a3c8ed31b560389d36bd7bdd466dfda333d480.png)

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [March 13, 2023, 10:53am UTC](https://community.dynatrace.com/t/file-system-monitoring-query/38793/2 "2023-03-13T10:53:39Z")

</div>

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
