27 Mar 2018 10:28 AM
Hello,
How long remains a memory dump in the OneAgent directory ?
I would like to have it only on the Security Gateway, not on the OneAgent.
Regards,
Solved! Go to Solution.
27 Mar 2018 03:40 PM
With default settings, memory dumps are kept agent-side for up to 7 days. Oldest ones are also deleted if there are more than 10 dumps or total size of memory dumps is exceeded (this condition is disabled by default).
It is possible to configure any of the three parameters mentioned above, with aid of DevOps.
We are looking to add option to immediately delete memorydumps after they are sent, but there is no timeline for that yet.
20 Apr 2018 04:25 AM
As an additional question. How long are the dumps subsequently keep on the Security Gateway?
20 Apr 2018 05:13 AM
7 Days on the SG.
https://www.dynatrace.com/support/help/installation/security-gateway/how-do-i-configure-a-security-gateway/ (note the MaxAgeDays parameter)
04 Mar 2021 04:02 PM
Hello! This behavior has changed. Now you can control the location for the memory dumps using DATA_STORAGE parameter and the dir is a subject to OneAgent file aging mechanism. Current rule is:
Files are removed when any of these conditions are true:
See https://www.dynatrace.com/support/help/shortlink/oneagent-aging-mechanism#data-storage-directory