AWS: Logs – install/configure the CloudWatch Logs Agent

Quick guide:



Super handy CLI:

Install with: `pip install awslogs –ignore-installed six`


List groups: awslogs groups


List streams in a group

Assuming your group is /var/log/syslog then:

awslogs streams /var/log/syslog


Watch all logs:

awslogs get /var/log/syslog ALL --watch




Leave a Reply

Your email address will not be published. Required fields are marked *