# Problem with Log monitoring

**URL:** <https://community.dynatrace.com/t/problem-with-log-monitoring/14784>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [August 17, 2018, 10:14am UTC](https://community.dynatrace.com/t/problem-with-log-monitoring/14784 "2018-08-17T10:14:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suresh230591](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/suresh230591/32/280_2.png) [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Post date:** [August 17, 2018, 10:14am UTC](https://community.dynatrace.com/t/problem-with-log-monitoring/14784/1 "2018-08-17T10:14:15Z")

</div>

We have seen a problem while defining event on log file.

In our application, web server create a new log file for each day with date appended at the end of log file name. Dynatrace has detected all these log files. .  
As the name of log file changing everyday (Due to date at the end) ,how to define the event on these files so that dynatrace select latest date log files.

For example  
C:/Program Files (x86)/Example/Web ASPx/WEB-INF/log/EXMPlog07172018\_1.log

C:/Program Files (x86)/Example/Web ASPx/WEB-INF/log/EXMPlog07182018\_1.log

C:/Program Files (x86)/Example/Web ASPx/WEB-INF/log/EXMPlog07192018\_1.log

C:/Program Files (x86)/Example/Web ASPx/WEB-INF/log/EXMPlog07202018\_1.log

---

<div class="post-metadata">

**Author:** ![pawel\_brzoska](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_brzoska/32/18892_2.png) [@pawel\_brzoska](https://community.dynatrace.com/u/pawel_brzoska)\
**Post date:** [September 14, 2018, 9:20am UTC](https://community.dynatrace.com/t/problem-with-log-monitoring/14784/2 "2018-09-14T09:20:37Z")

</div>

Try to add these files manually under Process Group settings page → Log files, as

C:/Program Files (x86)/Example/Web ASPx/WEB-INF/log/EXMPlog#\_#.log
