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.
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.
As an additional question. How long are the dumps subsequently keep on the Security Gateway?
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)
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