# Having issue getting Windows IIS logs

**URL:** <https://community.dynatrace.com/t/having-issue-getting-windows-iis-logs/37895>\
**Category:** Logs\
**Tags:** windows, log-configuration, log-monitoring-class\
**Created:** [January 5, 2023, 7:46pm UTC](https://community.dynatrace.com/t/having-issue-getting-windows-iis-logs/37895 "2023-01-05T19:46:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbednar](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@dbednar](https://community.dynatrace.com/u/dbednar)\
**Post date:** [January 5, 2023, 7:46pm UTC](https://community.dynatrace.com/t/having-issue-getting-windows-iis-logs/37895/1 "2023-01-05T19:46:16Z")

</div>

We are having issues importing Windows IIS logs into dynatrace.&nbsp;I have setup the log monitoring on the host group but it’s still not bringing the logs in.

I have them setup with the following but it’s still not working on both the log storage configuration and Custom log source configuration.

D:\inetpub\logs\LogFiles\W3SVC4\*.log

D:\inetpub\logs\logfiles\W3SVC4\*.log

D:\inetpub\logs\LogFiles\W3SVC3\*.log

D:\inetpub\logs\LogFiles\W3SVC3\*.log

Any help would be appreciated.

---

<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:** [January 9, 2023, 4:11pm UTC](https://community.dynatrace.com/t/having-issue-getting-windows-iis-logs/37895/2 "2023-01-09T16:11:23Z")

</div>

Setting up custom log monitoring can be a hit or miss sometimes, here is the support article on setting that up:&nbsp;[Custom log source (Logs Classic) — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/log-monitoring-custom-source#mainclscuipage)&nbsp;I also recommend trying a support chat on this, the reason being is that I’ve run into undocumented limitations before with log monitoring.

---

<div class="post-metadata">

**Author:** ![dbednar](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@dbednar](https://community.dynatrace.com/u/dbednar)\
**Post date:** [January 9, 2023, 5:32pm UTC](https://community.dynatrace.com/t/having-issue-getting-windows-iis-logs/37895/3 "2023-01-09T17:32:28Z")

</div>

I found out that I could get it to work if you set the collection at the tenant level instead of the host group level.&nbsp; It started working then.&nbsp; Hopefully dynatrace will fix this because with 2k hosts (and 50% of them being linux), it’s a waste going through all the hosts instead of a subset (like a host group).
