Documentation forPapertrail

Amazon CloudWatch


Amazon CloudWatch is a monitoring and logging service for AWS cloud resources and applications, especially AWS Lambda. Some Amazon services can send logs directly to Papertrail rather than to CloudWatch, such as Amazon ECS. For those that can’t, forwarding logs is still possible.

Sending logs via Lambda

Just as a Lambda function can send logs to CloudWatch, it can also read logs from CloudWatch and send them on. A custom lambda can be used with a logger such as winston-papertrail with Node.js or logback-syslog4j with Java.

Several Papertrail customers have also created Lambdas that can be used or customized, including Signiant's PaperWatch and Apiary’s cloudwatch-to-papertrail. A fork of Paperwatch shows CloudTrail logs going to Papertrail via CloudWatch.