Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 673 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 673 Bytes

Heroku Logs on AWS CloudWatch using AWS Lambda

python serverless

Stream and store heroku logs in AWS Cloudwatch using AWS Lambda and Heroku Log Drains.

More info: https://coderecipe.ai/architectures/59609314

Download the code locally

git clone [email protected]:CodeRecipe-dev/Heroku-log-AWS-cloudwatch.git

Deploy to the cloud

cd Heroku-log-AWS-cloudwatch

npm install

serverless deploy --stage <your-stage-name>

Add endpoint as Log Drain on heroku

heroku drains:add <api endpoint from serverless deploy> -a <heroku app name>