# OneAgent Extension didn't enable log monitoring by default

**URL:** <https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256>\
**Category:** Cloud platforms\
**Tags:** azure, log-monitoring-class\
**Created:** [June 30, 2018, 12:28pm UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256 "2018-06-30T12:28:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [June 30, 2018, 12:28pm UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256/1 "2018-06-30T12:28:28Z")

</div>

It seems like it didn’t, because for every Virtual Machine in Azure where the OneAgent extension is installed, this is what I see:

 ![17520-17323-capture.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/4/54d5124d68eae03ab3fcd1a7d2a26abef6bb5fd0.png)

Or is this the behavior if I installed the extension in Azure VM? (i.e the default setting of enable log monitoring is only enabled if I installed the extension in Azure WebApp, but not Azure VM)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 2, 2018, 6:57am UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256/2 "2018-07-02T06:57:33Z")

</div>

At least for Linux (I guess it is the same for Windows) you need to explicitly turn on log monitoring at installation time with the parameter **`APP_LOG_CONTENT_ACCESS`** (the default value is not to turn on this feature, unless you specify the value “true” or 1 for this parameter).

How exactly did you install your Windows agents?

---

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [July 3, 2018, 12:45pm UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256/3 "2018-07-03T12:45:58Z")

</div>

After login to the Azure Portal, I’ve intalled it using the GUI way as outlined here: [Monitor Azure Virtual Machines — Dynatrace Docs](https://www.dynatrace.com/support/help/cloud-platforms/azure/how-do-i-deploy-oneagent-to-azure-compute-vms/)

---

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [July 9, 2018, 4:39am UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256/4 "2018-07-09T04:39:42Z")

</div>

I installed the OneAgent Extension to these VMs, its not like, I RDP into these VMs, then double click to run the OneAgent installer in them.

---

<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:** [July 17, 2018, 7:17am UTC](https://community.dynatrace.com/t/oneagent-extension-didnt-enable-log-monitoring-by-default/13256/5 "2018-07-17T07:17:32Z")

</div>

Will be resolved by

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3D7f5794fd-d6f0-4cc0-8604-f838aa476207&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**
