# Change OA log directory size

**URL:** <https://community.dynatrace.com/t/change-oa-log-directory-size/43172>\
**Category:** Dynatrace Managed\
**Tags:** managed-cluster, log-monitoring-class, oneagent\
**Created:** [December 13, 2023, 8:03am UTC](https://community.dynatrace.com/t/change-oa-log-directory-size/43172 "2023-12-13T08:03:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_kat](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/g_kat/32/34573_2.png) [@g\_kat](https://community.dynatrace.com/u/g_kat)\
**Post date:** [December 13, 2023, 8:03am UTC](https://community.dynatrace.com/t/change-oa-log-directory-size/43172/1 "2023-12-13T08:03:28Z")

</div>

Hi,

In the documentation&nbsp; it mentions:

Optimal OneAgent disk usage is determined based on the following limits:

- The minimum required space is 200 MB \* 3 = 600 MB (logs, alerts, crash reports).
- The default required space is 1 GB \* 3 = 3 GB (logs, alerts, crash reports).

From this I deduce that this space is configurable to increase or decrease the directory size for each(logs, alerts, crash reports). I couldn’t find any parameter besides LOG\_PATH and DATA\_STORAGE, which both do something different though.

Regards,

George

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [December 13, 2023, 3:09pm UTC](https://community.dynatrace.com/t/change-oa-log-directory-size/43172/2 "2023-12-13T15:09:57Z")

</div>

Hi&nbsp;[@g\_kat](https://community.dynatrace.com/user/34133)

You have no other parameters available to adjust how much space to allocate. You can only manage the space available in the corresponding file systems from the OS, or use the parameters to designate another place for OA to store data.

Here you have everything :

> **[OneAgent files and disk space requirements on Windows](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/windows/installation/disk-space-requirements-for-oneagent-installation-and-update-on-windows)**
>
> Learn the OneAgent directory structure and disk space requirements for OneAgent installation on Windows.

> **[OneAgent files and disk space requirements on Linux](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/linux/installation/disk-space-requirements-for-oneagent-installation-and-update-on-linux)**
>
> Learn the OneAgent directory structure and disk space requirements for OneAgent installation on Linux.

---

<div class="post-metadata">

**Author:** ![g\_kat](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/g_kat/32/34573_2.png) [@g\_kat](https://community.dynatrace.com/u/g_kat)\
**Post date:** [December 13, 2023, 3:28pm UTC](https://community.dynatrace.com/t/change-oa-log-directory-size/43172/3 "2023-12-13T15:28:33Z")

</div>

Hi&nbsp;[@radek\_jasinski](https://community.dynatrace.com/user/16832)

So are these soft limits, if I can allocate less than 1GB space on the OS level? I suppose that as long I don’t allocate less than the minimum 200MB the OA wouldn’t complain, right?

Regards,

George

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [December 13, 2023, 3:52pm UTC](https://community.dynatrace.com/t/change-oa-log-directory-size/43172/4 "2023-12-13T15:52:57Z")

</div>

If you do not allocate less than required in the documentation then there is no problem.
