Terminal
Terminal/Skill
Diagnoses failing applications by searching CloudWatch log groups for error patterns and stack traces, then suggests prioritized fixes.
By Amazon Web Services
Works with
npx skills add aws/agent-toolkit-for-aws --skill troubleshooting-application-failuresDomain expertise for diagnosing application failures through CloudWatch log analysis. Discovers relevant log groups, searches for error patterns and stack traces, performs root cause analysis, and generates prioritized remediation recommendations.
To diagnose and resolve application failures using CloudWatch logs, follow the procedure exactly. See Application failure troubleshooting procedure.
Ask the user for specific log group names. Common patterns: /aws/lambda/function-name,
/aws/apigateway/api-name, or custom application log groups.
Verify AWS credentials have logs:DescribeLogGroups, logs:DescribeLogStreams,
logs:StartQuery, and logs:GetQueryResults permissions.
Reduce the time window or limit results. Large log groups may require multiple smaller queries.