aws-logging-diagnostics

Correlate CloudWatch Logs and CloudTrail events to diagnose AWS incidents.

3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-migration-agentic-cli-assistant --skill aws-logging-diagnostics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-logging-diagnostics
Source: https://github.com/aws-samples/sample-migration-agentic-cli-assistant/tree/main/.kiro/skills/ops-logging
Command: npx skills add https://github.com/aws-samples/sample-migration-agentic-cli-assistant --skill aws-logging-diagnostics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudWatch Logs and CloudTrail generate vast traces that can be hard to correlate manually; this skill provides structured guidance to efficiently diagnose AWS log events and audit trails.

Core Features & Use Cases

  • Centralized log analysis: quickly find, filter, and interpret CloudWatch Logs and CloudTrail events.
  • Event correlation: correlate time-stamped events across logs to identify root causes.
  • Diagnostic workflows: repeatable routines for error investigation, security audits, and incident response.

Quick Start

Analyze a recent Lambda failure by querying relevant CloudWatch Logs and CloudTrail events to identify the error source.

Frequently Asked Questions about aws-logging-diagnostics

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

FAQPage Schema
How do I correlate CloudWatch Logs and CloudTrail events for incident response?

You can correlate CloudWatch Logs and CloudTrail events by matching time-stamped entries across AWS services to identify root causes. This skill provides structured workflows to filter and interpret traces for efficient incident response and security audits.

What is the best way to diagnose a Lambda failure using CloudWatch Logs?

Diagnose a Lambda failure by querying relevant CloudWatch Logs and CloudTrail events to pinpoint the error source. The skill applies structured log querying to quickly find, filter, and interpret the vast traces generated during execution.

Can I use this skill for cross-service log analysis in AWS?

Yes, you can use this skill for cross-service log analysis in AWS. It is specifically designed to correlate time-stamped events across logs, satisfying requirements for structured querying and repeatable diagnostic workflows across AWS services.

Do I need any external dependencies to run AWS log diagnostics?

You do not need external dependencies to run AWS log diagnostics. The skill operates independently to provide structured guidance for investigating CloudWatch Logs and CloudTrail events without requiring additional components.

Why does manually searching CloudTrail audit trails take so long?

Manually searching CloudTrail audit trails is slow because they generate vast traces that are hard to correlate. This skill solves the problem by providing structured diagnostic workflows to quickly find, filter, and interpret events for security audits.