troubleshooting-application-failures

Analyze CloudWatch log groups to identify error patterns and root causes.

Updated May 12, 2026
One-click install
npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill troubleshooting-application-failures-mreferre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: troubleshooting-application-failures
Source: https://github.com/mreferre/aws-agent-toolkit-skills/tree/main/.kiro/skills/troubleshooting-application-failures
Command: npx skills add https://github.com/mreferre/aws-agent-toolkit-skills --skill troubleshooting-application-failures-mreferre

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you quickly identify why an application is failing by analyzing CloudWatch logs to find error patterns, likely root causes, and practical remediation steps.

Core Features & Use Cases

  • Log group discovery: Finds CloudWatch log groups related to your application across common AWS service patterns.
  • Logs Insights error analysis: Searches for errors, failures, exceptions, stack traces, and authorization issues within a configurable time window.
  • Evidence-based remediation: Produces prioritized actions (immediate, short-term, long-term) based on frequency, timing, and extracted log evidence.

Quick Start

Ask an AI to troubleshoot your failing application by providing the application name, AWS region, and (optionally) how many hours of logs to analyze.

Frequently Asked Questions about troubleshooting-application-failures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of application failures in AWS CloudWatch logs?

To find the root cause of application failures in CloudWatch logs, you can run Logs Insights queries to search for errors, exceptions, and stack traces within a specific region and time window. This identifies error patterns and generates prioritized remediation steps.

What is the best way to troubleshoot Lambda or ECS errors using CloudWatch Logs Insights?

The best way to troubleshoot Lambda or ECS errors using CloudWatch Logs Insights is to discover relevant log groups and query for failures, authorization issues, and exceptions. The analysis extracts log evidence to produce immediate, short-term, and long-term remediation actions.

Can I analyze CloudWatch log groups across multiple AWS services for debugging?

Yes, you can analyze CloudWatch log groups across AWS services for debugging. The process discovers log groups for services like Lambda, API Gateway, and ECS, then searches within a configurable time window to identify error patterns and likely root causes.

How do I get actionable remediation recommendations from CloudWatch error patterns?

You get actionable remediation recommendations from CloudWatch error patterns by analyzing the frequency and timing of extracted log evidence like stack traces. The analysis outputs prioritized actions categorized as immediate, short-term, and long-term steps.

Does troubleshooting CloudWatch application failures require a specific time window?

Troubleshooting CloudWatch application failures requires specifying a time window to scope the log analysis. You provide the application name, AWS region, and optionally the number of hours of logs to analyze, which validates log stream availability before querying errors.