Menu
AWS Systems Manager
User Guide

View SSM Agent Logs

SSM Agent writes information about executions, scheduled actions, errors, and health statuses to log files on each instance. You can view log files by manually connecting to an instance, or you can automatically send logs to Amazon CloudWatch Logs. For more information about sending logs to CloudWatch, see Monitoring Instances with AWS Systems Manager.

You can view SSM Agent logs on Linux instances in the following locations.

  • /var/log/amazon/ssm/amazon-ssm-agent.log

  • /var/log/amazon/ssm/errors.log

SSM Agent sterr and stdout files are written to the following directory: /var/lib/amazon/ssm.

You can enable extended logging by updating the seelog.xml file. The default location of the configuration file is: /etc/amazon/ssm/seelog.xml

For more information about cihub/seelog configuration, see the Seelog Wiki on GitHub. For examples of cihub/seelog configurations, see the cihub/seelog examples repository on GitHub.