# Only able to view logs on few hosts & its respective processes but not for other hosts

**URL:** <https://community.dynatrace.com/t/only-able-to-view-logs-on-few-hosts-its-respective-processes-but-not-for-other-hosts/36587>\
**Category:** Open Q&A\
**Tags:** log-viewer, log-processing, log-configuration\
**Created:** [September 20, 2022, 1:02pm UTC](https://community.dynatrace.com/t/only-able-to-view-logs-on-few-hosts-its-respective-processes-but-not-for-other-hosts/36587 "2022-09-20T13:02:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharat\_kurmada1](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bharat\_kurmada1](https://community.dynatrace.com/u/bharat_kurmada1)\
**Post date:** [September 20, 2022, 1:02pm UTC](https://community.dynatrace.com/t/only-able-to-view-logs-on-few-hosts-its-respective-processes-but-not-for-other-hosts/36587/1 "2022-09-20T13:02:53Z")

</div>

Hi,

We have both Managed and SaaS environments setup. In Managed environment, for some of the hosts we are able to view system logs and logs for processes running on those hosts. I have checked in log monitoring settings of Managed environment but did not see any log setting enabled for the hosts.

Whereas we cannot view any such logs for hosts/processes in SaaS environment.

How can I can enable similar kind of settings in SaaS environment to get host/process logs without getting additional licenses consumed?

Can someone please clarify on this.

Thank you!

---

<div class="post-metadata">

**Author:** ![dylan\_taelemans](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dylan_taelemans/32/21501_2.png) [@dylan\_taelemans](https://community.dynatrace.com/u/dylan_taelemans)\
**Post date:** [September 20, 2022, 2:21pm UTC](https://community.dynatrace.com/t/only-able-to-view-logs-on-few-hosts-its-respective-processes-but-not-for-other-hosts/36587/2 "2022-09-20T14:21:20Z")

</div>

Hey,

Something to check is whether the oneagent installation allowed log monitoring.

 ![Screenshot 2022-09-20 at 16.17.58.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/c/ac6fb70d11a8cb5fdbbfb71f4f74a999cb3bbd23.png)

- To enable or disable Dynatrace Log Monitoring on a host level:  
Use OneAgent CLI and execute the&nbsp;oneagentctl&nbsp;command-line interface to execute the following command at the individual host level.  
Set the&nbsp;--set-app-log-content-access&nbsp;parameter to&nbsp;true&nbsp;or&nbsp;false&nbsp;to disable or enable Log Monitoring:

---

<div class="post-metadata">

**Author:** ![bharat\_kurmada1](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bharat\_kurmada1](https://community.dynatrace.com/u/bharat_kurmada1)\
**Post date:** [September 22, 2022, 11:00am UTC](https://community.dynatrace.com/t/only-able-to-view-logs-on-few-hosts-its-respective-processes-but-not-for-other-hosts/36587/3 "2022-09-22T11:00:58Z")

</div>

Hi Dylan,

Thank you for shedding some light on this, I will check as suggested.

Thanks
