Digesting structured logs

Today, there is a myriad of dedicated logging services, such as:

  • Loggly
  • Sumo Logic
  • Splunk
  • Papertrail
  • Hosted ELK

The list could go on and on. Many of these hosted services may be more accessible, and possibly more powerful, when you send them JSON messages. I have used Loggly in different applications and know that this is the case.

There are many ways to ship logs to Loggly, and likely for other services. However, shipping logs can change when the destination is somewhere other than your FaaS provider. CloudWatch logging is built-in to AWS Lamba and offers free performance, so how can we get these same logs out to an external service?

With AWS CloudWatch, it's possible to trigger another Lambda function when new ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.