Skip to content

Instantly share code, notes, and snippets.

@Kalki5
Created January 10, 2018 10:59
Show Gist options
  • Save Kalki5/11eeedb21fecec7c79e30b8c2851d034 to your computer and use it in GitHub Desktop.
Save Kalki5/11eeedb21fecec7c79e30b8c2851d034 to your computer and use it in GitHub Desktop.
AWS Push Custom Logs to Cloud Watch logs
sudo apt-get install -y python-pip
pip install awscli
aws configure
curl https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/awslogs-agent-setup.py -O
sudo python ./awslogs-agent-setup.py --region us-east-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment