Where can I find OneAgent files and logs?

You may at some point want to access the installed agent 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
  • On Linux /opt/dynatrace/oneagent

Details for Windows installations

For Dynatrace OneAgent versions 102 and earlier on Windows, you’ll find installed OneAgent binaries, configuration files, and log files here:

  • On 64-bit Windows C:\Program Files (x86)\ruxit\agent

  • On 32-bit Windows C:\Program Files\ruxit\agent

Note: Installation directory paths are preserved during OneAgent auto-updates on Windows.

Details for Linux installations

For Dynatrace OneAgent versions 102 and earlier on Linux you’ll find your installed binaries, configuration files, and log files here:

  • /opt/ruxit/agent/

Other Linux content, including outdated log files, are also retained at /opt/ruxit

Apart from the files that are installed at /opt/dynatrace/oneagent , extra files are also installed:

  • Startup scripts are installed at /etc/init.d.
  • One of the Linux OneAgent components, liboneagentproc.so, is located in the system library directory (/lib or /lib64 depending on your architecture) and is enabled at /etc/ld.so.preload.

Log files

Log files are stored by default:

  • On Linux at /opt/dynatrace/oneagent/log
  • On 64-bit Windows at C:\Program Files (x86)\dynatrace\oneagent\log
  • On 32-bit Windows at C:\Program Files\dynatrace\oneagent\log
  • On Azure
    • at D:\home\data\dynatrace\log
    • and D:\home\SiteExtensions\Dynatrace\log.txt
  • On Cloud Foundry Java at <path-to-app-container>/.java-buildpack/ruxit_agent. Please note you can stream logs in Cloud Foundry via CLI cf logs app-name