Amazon CloudWatch Logs Insights: A Beginner’s Guide

Jay TilluJay Tillu
3 min read

Arjun had come a long way on his AWS journey. He could build apps, spin up servers, and even use EventBridge like a pro. But something still bugged him…

“I can deploy things, but how do I see what’s going on inside them?”

That’s when CloudWatch whispered in his ear:
“Use my Insights.”


🧱 1. CloudWatch Container Insights – Arjun’s Kubernetes Spy

Arjun's team was using containers. Some were on ECS, others on EKS, and a few on plain old EC2 with Kubernetes. And each time something slowed down, they had to jump into logs manually.

“There has to be a better way!” Arjun muttered.

Boom 💥 — enter CloudWatch Container Insights.

It’s like giving CloudWatch X-ray vision into your containers.

  • It collects logs and metrics from ECS, EKS, and Kubernetes.

  • It automatically creates dashboards so you see CPU, memory, disk I/O, and network metrics.

  • Behind the scenes, it runs a CloudWatch Agent inside a container to discover what’s running.

Use case: Want to monitor hundreds of microservices without building dashboards yourself? This is your answer.


⚡ 2. CloudWatch Lambda Insights – Arjun's Serverless Doctor

Next, Arjun moved his monolith into serverless Lambda functions. But now, things like cold starts and memory limitsstarted haunting him.

That’s where Lambda Insights came to the rescue.

It’s like a real-time health monitor for your serverless functions.

  • It tracks CPU, memory, duration, cold starts, and more.

  • It runs as a Lambda Layer next to your function.

  • And best of all — it creates a dedicated dashboard just for Lambdas.

Use case: If your Lambdas are slow, failing, or inconsistent — this will show you why.


🧠 3. CloudWatch Contributor Insights – Arjun’s Traffic Detective

One day, during a network check, Arjun noticed something strange.

“Why is the internet so slow? Who’s using all the bandwidth?” he wondered.

To find out, he used CloudWatch Contributor Insights — a tool that helps you spot the “top users” inside your system.

  • It looks at your logs (like VPC Flow Logs or DNS Logs).

  • It tells you who’s doing the most activity — like top IP addresses, top users, or top URLs.

  • Example: It can show the top 10 IPs using the most network traffic in your VPC.

This helped Arjun quickly find a misbehaving script sending too much traffic — and fix it right away.

In short: Contributor Insights helps you see who’s causing the most load so you can fix issues fast.


🚨 4. CloudWatch Application Insights – Arjun’s Auto-Healing Oracle

Finally, Arjun needed a bird’s eye view of his full application stack — EC2, RDS, ELB, Lambda, and more.

But building custom dashboards was time-consuming.

Solution?
Application Insights – the brainy assistant that:

  • Automatically detects issues using Machine Learning (via SageMaker).

  • Builds dashboards showing root cause of failures.

  • Connects with EventBridge and SSM OpsCenter to send alerts and start automated fixes.

Use case: Want to reduce MTTR (mean time to repair) and catch hidden problems across your app stack? Application Insights does it for you.


🧠 TL;DR for Arjun (and You)

FeaturePurposeUse Case Example
Container InsightsMonitor container metrics/logs from ECS, EKS, etc.View resource usage of microservices
Lambda InsightsDeep dive into Lambda performanceAnalyze cold starts & memory issues
Contributor InsightsFind “top contributors” via logsSpot top IPs or error-generating URLs
Application InsightsAuto-detect app issues and show dashboardsEnd-to-end app troubleshooting

Follow me for more such content

0
Subscribe to my newsletter

Read articles from Jay Tillu directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Jay Tillu
Jay Tillu

Hello! I'm Jay Tillu, an Information Security Engineer at Simple2Call. I have expertise in security frameworks and compliance, including NIST, ISO 27001, and ISO 27701. My specialities include Vulnerability Management, Threat Analysis, and Incident Response. I have also earned certifications in Google Cybersecurity and Microsoft Azure. I’m always eager to connect and discuss cybersecurity—let's get in touch!