# How to define log file name in path?

**URL:** <https://community.dynatrace.com/t/how-to-define-log-file-name-in-path/34673>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [March 30, 2022, 5:45pm UTC](https://community.dynatrace.com/t/how-to-define-log-file-name-in-path/34673 "2022-03-30T17:45:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rameshbabu\_t](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rameshbabu\_t](https://community.dynatrace.com/u/rameshbabu_t)\
**Post date:** [March 30, 2022, 5:45pm UTC](https://community.dynatrace.com/t/how-to-define-log-file-name-in-path/34673/1 "2022-03-30T17:45:01Z")

</div>

in log monitoring,

in a particular path I have last 10 days log files and the file names are created abc\_mmddyyyy. here in mmddyyyy, the log file name created by date which is created on that particular day.

here my use case is i need to monitor only recently(today) created file out of 10 days files. anyone can suggest how will have to define log file name in path.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 31, 2022, 2:19pm UTC](https://community.dynatrace.com/t/how-to-define-log-file-name-in-path/34673/2 "2022-03-31T14:19:53Z")

</div>

You can always add log files manually:&nbsp;[Add log files manually (Logs Classic) — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/log-monitoring-add-log-files-v2#considerations-for-adding-text-log-files-manually)
