Retrieve AWS CloudWatch Logs to local machine
- Install Python 3.
- Install boto.
- Install AWS CLI.
- Configure your access keys from the command line.
- Change any of the variables in the header of collect.py. It defaults to pulling the last 20 minutes of logs.
- Run the script from the command line with
python collect.py -h