I built my own AWS Cloudwatch log forwarder as an npm packageOct 9, 2016 1 minute read
AWS Cloudwatch is an outstanding monitoring platform. With competitive prices, it is extremely configurable and extensible. Unfortunately, monitoring resources outside of AWS is not straightforward. To solve this problem I created my own
Cloudwatch log forwarder as a non-intrusive
What’s wrong with the existing log forwarding tools?
Amazon provides a CloudWatch Logs Agent to forward logs. This agent must be installed as a service running on a server. While this is easy on EC2 instances, it is impossible to do in shared environments such as Heroku.
Amazon built the CloudWatch Logs API and SDKs for developers to interact with the system. While these SDKs are relatively simple to use, they still require a fair amount of work and understanding of the API.
Why I built the
It can be used outside of AWS: The
aws-cloudwatch-forwarderwill process logs from anywhere.
aws-cloudwatch-forwarder 'echo "sample application"'
How do I use it?
npm page for the latest documentation