# Manage Oneagent logs in Linux

**URL:** <https://community.dynatrace.com/t/manage-oneagent-logs-in-linux/33238>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [November 10, 2021, 2:57pm UTC](https://community.dynatrace.com/t/manage-oneagent-logs-in-linux/33238 "2021-11-10T14:57:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IMO-Team](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@IMO-Team](https://community.dynatrace.com/u/IMO-Team)\
**Post date:** [November 10, 2021, 2:57pm UTC](https://community.dynatrace.com/t/manage-oneagent-logs-in-linux/33238/1 "2021-11-10T14:57:45Z")

</div>

Hi Dynatrace Community,

We startet to get complains from hosts owners side regarding filling up log file system with a question if there is a way to remove Oneagent logs from the system which are more thsn 14 days old.

I was unable to find an option to define this so far. any idea how we can control logging volume for Oneagent?

Best regards,

Ingrida

---

<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:** [November 10, 2021, 3:13pm UTC](https://community.dynatrace.com/t/manage-oneagent-logs-in-linux/33238/2 "2021-11-10T15:13:56Z")

</div>

Hello&nbsp;[@IMO-Team](https://community.dynatrace.com/user/44083)&nbsp;,

the log [aging mechanism is already built-in](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-aging-mechanism/#oneagent-aging-mechanism-rules). You cannot modify the log rotation by yourself. If you belive the log rotation and pruning does not work in your case, please contact Dynatrace One or create a [support ticket](https://one.dynatrace.com/hc/en-us/requests).

---

<div class="post-metadata">

**Author:** ![IMO-Team](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@IMO-Team](https://community.dynatrace.com/u/IMO-Team)\
**Post date:** [November 10, 2021, 4:42pm UTC](https://community.dynatrace.com/t/manage-oneagent-logs-in-linux/33238/3 "2021-11-10T16:42:48Z")

</div>

Thanks&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)! Somehow I manage to miss this doc. I think it should be sufficient in our case, otherwise I will contact support.
