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

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


https://www.youtube.com/watch?v=z23_9c--QGQ

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: https://www.youtube.com/watch?v=rk4QM...
- Analyzing log data with CloudWatch Logs Insights: https://docs.aws.amazon.com/AmazonClo...
- CloudWatch logs insights query syntax: https://docs.aws.amazon.com/AmazonClo...
- Pino logger for Node.js: https://getpino.io

You can listen to AWS Bites wherever you get your podcasts:
- Apple Podcasts: https://podcasts.apple.com/us/podcast...
- Spotify: https://open.spotify.com/show/3Lh7Pzq...
- Google: https://podcasts.google.com/feed/aHR0...
- Breaker: https://www.breaker.audio/aws-bites
- RSS: ​​https://anchor.fm/s/6a3312a0/podcast/rss

Do you have any AWS questions you would like us to address?
Leave a comment here or connect with us on Twitter:
- https://twitter.com/eoins
- https://twitter.com/loige

#aws #logs #cloudwatch