# On-demand application logs - what do I need?

**URL:** <https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172>\
**Category:** Logs\
**Tags:** log-monitoring-class, hosts-classic\
**Created:** [January 9, 2021, 11:40am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172 "2021-01-09T11:40:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![azurepoc](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@azurepoc](https://community.dynatrace.com/u/azurepoc)\
**Post date:** [January 9, 2021, 11:40am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/1 "2021-01-09T11:40:25Z")

</div>

Hi, I would like to access application log files via Host view (Dynatrace Managed). This feature is available for me, but the archive is empty after downloading. Do I need any license to use this feature? (I don’t want to monitor log files continuously)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 9, 2021, 11:59am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/2 "2021-01-09T11:59:36Z")

</div>

Strange. If you can download the compressed file, you have authorization. Does the archive have 0 bytes, or does it have any files inside (typically inside the host id directory, there is at least a Filelist.txt file)?

But now that I tried it myself, I seem to have lost the ability to download logs??? Very strange, because I managed to download one about two hours ago… The button “Download log files” disappeared for me! Wait, I went to another environment where it was available, and when I got back to the environment where I wasn’t seeing it, I was seeing it again. Maybe a transient problem, so you can try this 😉 if this is your problem…

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [January 11, 2021, 7:53am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/3 "2021-01-11T07:53:26Z")

</div>

Hi, Did you check those files contains information from latest 7 days?

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 11, 2021, 8:45am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/4 "2021-01-11T08:45:07Z")

</div>

Hello Adam,

Have a glance at the below link for the troubleshooting of ad-hoc logs.

[https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/basic-concepts/log-monitoring-functionality/](https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/basic-concepts/log-monitoring-functionality/)

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![azurepoc](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@azurepoc](https://community.dynatrace.com/u/azurepoc)\
**Post date:** [January 11, 2021, 9:34am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/5 "2021-01-11T09:34:52Z")

</div>

Yes, on the host page there is information if log file wasn’t updated for 7 days. I can click on the file, and it is pre-checked to download. After downloading I have logs\_archove.zip containing the selected file (name), but the file is empty.

Do I need any additional license to have possibility to only download log file? (I don’t want to monitor or view log file content)

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 11, 2021, 10:50am UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/6 "2021-01-11T10:50:18Z")

</div>

Do you know if that file has data server side?

---

<div class="post-metadata">

**Author:** ![azurepoc](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@azurepoc](https://community.dynatrace.com/u/azurepoc)\
**Post date:** [January 11, 2021, 9:01pm UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/7 "2021-01-11T21:01:49Z")

</div>

Yes, on the server side the file is not empty

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 11, 2021, 10:44pm UTC](https://community.dynatrace.com/t/on-demand-application-logs-what-do-i-need/21172/8 "2021-01-11T22:44:41Z")

</div>

If there is data server-side, it should appear in the downloaded file. Might be permissions or some other strange thing. At this point, I would probably suggest you submit a support ticket, or contact the in-platform chat.
