OneAgent files and logs on Windows

You may at some point want to access the installed OneAgent binaries, configuration files, and log files (for example, for support purposes). Here's where you can find these files.


By default your Dynatrace OneAgent is installed in the following directory:

  • On 64-bit Windows C:\Program Files (x86)\dynatrace\oneagent
  • On 32-bit Windows C:\Program Files\dynatrace\oneagent

Log files

Log files are stored by default at %ProgramData%\dynatrace\oneagent\log.

OneAgent log files are rotated automatically. Typically, the 5 most recent log files are retained (max. size per file is 10MB). When low disk space is detected, an alert for the host is raised. All logs except the installation log and the file that logged the reason for the disk cleanup are then deleted. Low disk space is detected automatically or based on custom settings. To edit the low disk space threshold, open Host settings, go to Anomaly detection and change the settings in the Disk section.

Configuration files

Configuration files are stored by default at %ProgramData%\dynatrace\oneagent\agent\config