# Is there a way to configure the data retention for log monitoring data in dtmanaged?

**URL:** <https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, data-privacy-and-product-security, elasticsearch\
**Created:** [November 24, 2023, 4:05pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824 "2023-11-24T16:05:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_sevilla](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@michael\_sevilla](https://community.dynatrace.com/u/michael_sevilla)\
**Post date:** [November 24, 2023, 4:05pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/1 "2023-11-24T16:05:56Z")

</div>

We have an issue&nbsp; where log monitoring data is taking up all our storage space.&nbsp; There is no way to purge the data. Since we are on a physical system using SAN we cannot just add disk space on the fly.

Since logv2 log monitoring data is being stored in elastic search database and it has grown because of it.

On our second cluster adaptive data retention kicked in and somehow it purged all of our historical log data on that cluster (which we were ok with). We need to do the same with our other cluster.

-Michael

---

<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:** [November 24, 2023, 4:18pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/2 "2023-11-24T16:18:06Z")

</div>

Hi,

Read the documentation on data retention (including logs): [Data retention periods — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/data-retention)

Radek

---

<div class="post-metadata">

**Author:** ![michael\_sevilla](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@michael\_sevilla](https://community.dynatrace.com/u/michael_sevilla)\
**Post date:** [November 24, 2023, 4:23pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/3 "2023-11-24T16:23:05Z")

</div>

Hi

I did review that document and there is no instructions in regards to changing the retention period for log v2 in dynatrace managed.&nbsp; I only see settings for tenant data, synthetic and rum related metrics.

Michael

---

<div class="post-metadata">

**Author:** ![michael\_sevilla](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@michael\_sevilla](https://community.dynatrace.com/u/michael_sevilla)\
**Post date:** [November 24, 2023, 5:28pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/4 "2023-11-24T17:28:49Z")

</div>

I have a ticket with support and to check with the dev team.

Thanks,

---

<div class="post-metadata">

**Author:** ![Ashok\_Selvaraj](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Ashok\_Selvaraj](https://community.dynatrace.com/u/Ashok_Selvaraj)\
**Post date:** [December 10, 2023, 8:05am UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/5 "2023-12-10T08:05:51Z")

</div>

Did you find a way to configure the retention for Log v2…we are in a similar situation.., appreciate&nbsp;your response…

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [December 10, 2023, 4:35pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/6 "2023-12-10T16:35:04Z")

</div>

Just replied in another thread:  
[https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/How-to-configure-log-retention-for-classic/td-p/231407](https://community.dynatrace.com/topic/231407)

Although the documentation hints in it is possible, looking at a working cluster, that seems to not be the case…

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [March 12, 2024, 9:59am UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/7 "2024-03-12T09:59:23Z")

</div>

It’s not possible. Log retention in Managed is fixed.

---

<div class="post-metadata">

**Author:** ![Esam\_Eid](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/esam_eid/32/167_2.png) [@Esam\_Eid](https://community.dynatrace.com/u/Esam_Eid)\
**Post date:** [April 21, 2024, 9:27am UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/8 "2024-04-21T09:27:09Z")

</div>

Not possible, its 35 days fixed.

Regards,

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 22, 2024, 6:37am UTC](https://community.dynatrace.com/t/is-there-a-way-to-configure-the-data-retention-for-log-monitoring-data-in-dtmanaged/42824/9 "2024-04-22T06:37:57Z")

</div>

> **[Data retention periods](https://docs.dynatrace.com/managed/manage/data-privacy-and-security/data-privacy/data-retention-periods)**
>
> Review default and configurable retention periods for service, RUM Classic, synthetic, Log Monitoring, metric, diagnostic, and security data in Dynatrace Managed.

Link to the Managed documentation.  
It’s not marked as configurable.
