# Load on OneAgent when a large amount of logs are ingested by OneAgent

**URL:** <https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168>\
**Category:** Logs\
**Tags:** log-configuration, logs\
**Created:** [June 19, 2025, 6:51am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168 "2025-06-19T06:51:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 19, 2025, 6:51am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168/1 "2025-06-19T06:51:36Z")

</div>

I understand that if a large amount of log files are ingested by OneAgent, a DPS license will be consumed.

Do I need to consider the load on OneAgent, which ingests logs and sends information to the SaaS tenant? Will the load on OneAgent increase if it ingests a large amount of logs?

I don’t think there is any mention in the Dynatrace documentation about the load caused by OneAgent’s log ingest.

---

<div class="post-metadata">

**Author:** ![GerardJ](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gerardj/32/154_2.png) [@GerardJ](https://community.dynatrace.com/u/GerardJ)\
**Post date:** [June 19, 2025, 7:43am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168/2 "2025-06-19T07:43:26Z")

</div>

Sure you have to consider that.&nbsp;I have previously encountered a situation where resource consumption of log analytics module server was very high. I had to work with support to finely adjust the parameters to effectively collect logs while limiting CPU usage. As far as I remember, this was more due to the directory structure and the number of files in these directories than the volume of logs to be ingested.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [June 19, 2025, 10:37am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168/3 "2025-06-19T10:37:32Z")

</div>

Hello [@Shirai](https://community.dynatrace.com/user/32074) I can confirm the experience shared by [@GerardJ](https://community.dynatrace.com/user/66575) .

Directory structure and amount of file contain in it was the main challenge and reason the oneagent log module was consuming a lot of resource on vm. But I remember that after toping at some consumption level basically the module was killing itself and then starting back again.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 20, 2025, 12:21am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168/4 "2025-06-20T00:21:42Z")

</div>

[@y\_buccellato](https://community.dynatrace.com/user/4804)&nbsp;[@GerardJ](https://community.dynatrace.com/user/66575)&nbsp;Thank you for your comment.

Log files are rotated daily based on file size, and there are often many files in the same directory or in directories under it.

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 20, 2025, 1:43am UTC](https://community.dynatrace.com/t/load-on-oneagent-when-a-large-amount-of-logs-are-ingested-by-oneagent/52168/5 "2025-06-20T01:43:32Z")

</div>

I’m thinking maybe I can work around the issue by turning off auto-detection of log files and configuring a custom log source, but I have no evidence to support this.
