Published a YouTube video
Spoke about AWS
Published a podcast episode
Published a new Episode of AWS Bites Podcast

35. How can you become a Logs Ninja with CloudWatch?

In the age of distributed systems we produce tons and tons of logs. This is especially true for AWS when using CloudWatch logs. So how do we make sense of all these logs and how can we find useful information in them?
In this episode we talk all about logs on AWS and we discuss the main concepts in CloudWatch for logs like Log Groups and Log Streams. We discuss how you can consume logs and how this used to be a big pain point with AWS CloudWatch logs and how now things are a lot better thanks to a relatively new feature called Log Insights.
Finally we discuss some best practices that you should consider when thinking about logs for your distributed cloud applications.

⏱ Chapters:

00:00 Intro
01:42 CloudWatch Log Groups and Log Streams
03:35 How do you read logs?
05:25 Metrics filter
07:28 How to use logs in different use cases?
09:00 CloudWatch Logs Insights
12:00 Example use cases of using the parse expression with CloudWatch Logs Insights
14:30 Saving CloudWatch Logs Insights queries and logs export
17:43 Limitations of the CloudWatch Logs interface
18:40 How searching though logs actually works (compared to metrics) and how to save money
21:00 CloudWatch logs pricing
22:40 Tips and best practices to store logs
30:45 Closing

In this episode, we mentioned the following resources:
- Our previous episode on CloudWatch alarms:
- Analyzing log data with CloudWatch Logs Insights:
- CloudWatch logs insights query syntax:
- Pino logger for Node.js:

You can listen to AWS Bites wherever you get your podcasts:
- Apple Podcasts:
- Spotify:
- Google:
- Breaker:
- RSS: ​​

Do you have any AWS questions you would like us to address?
Leave a comment here or connect with us on Twitter:

#aws #logs #cloudwatch