Agent Log Files

Agent Log Files

The Datadog Agent does a logs rollover every 10MB. When a rollover occurs, one backup is kept (e.g. agent.log.1). If a previous backup exists, it is overwritten during the rollover.

Agent log directory

PlatformCommand
Linux/var/log/datadog/
macOS, Agent v7.28+ and v6.28+/opt/datadog-agent/log
macOS, Agent older than 6.28.0/7.28.0/var/log/datadog
Windows Server 2008, Vista and newerC:\ProgramData\Datadog\logs
Windows Server 2003, XP or olderunsupported Platform
PlatformCommand
Linux/var/log/datadog/
macOS/var/log/datadog/
Windows Server 2008, Vista and newerC:\ProgramData\Datadog\logs\
Windows Server 2003, XP or olderC:\Documents and Settings\All Users\Application Data\Datadog\logs\
SmartOS/opt/local/datadog/logs/supervisord/
Source build~/.datadog-agent/supervisord/logs/

Agent log files

  • agent.log
  • process-agent.log
  • trace-agent.log
  • jmxfetch.log for Agent >= 7.24.0/6.24.0
  • collector.log
  • dogstatsd.log
  • forwarder.log
  • supervisord.log

Agent installation log files

PlatformLocation and file name
Linux$pwd/ddagent-install.log
macOS/tmp/dd_agent.log
Windows%TEMP%\MSI*.LOG

Further Reading