aws-logs-query

Query AWS CloudWatch logs for staging and production environments.

6|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/pwv-vc/agentcribs-community --skill aws-logs-query-pwv-vc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-logs-query
Source: https://github.com/pwv-vc/agentcribs-community/tree/main/resources/tearsheets/arsenal/dot-claude/skills/aws-logs-query
Command: npx skills add https://github.com/pwv-vc/agentcribs-community --skill aws-logs-query-pwv-vc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly access and analyze AWS CloudWatch logs for staging and production environments to diagnose errors, investigate incidents, and monitor application behavior.

Core Features & Use Cases

  • Real-time tailing of logs from staging and production log groups to spot errors as they occur.
  • Quick searches and pattern matching for common issues (e.g., errors, exceptions) using aws logs tail and aws logs start-query.
  • Guided workflows for debugging incidents, validating deployments, and monitoring service health over time.

Quick Start

Tail the staging logs in real time with aws logs tail '/ecs/codel-staging' --follow --format short and search for 'error' patterns.

Frequently Asked Questions about aws-logs-query

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

FAQPage Schema
How do I tail CloudWatch logs in real time to spot errors in staging or production?

Tail CloudWatch logs in real time using the AWS CLI command aws logs tail with the --follow and --format short flags to stream live log events and immediately spot errors as they occur in your environments.

Do I need AWS CLI configured to query CloudWatch Insights for historical error searches?

Yes, querying CloudWatch Insights requires the AWS CLI with a configured profile and region, alongside access to specific log groups like /ecs/codel-staging and /ecs/codel-prod to execute historical searches and pattern matching.

What is the best way to debug application incidents using AWS CloudWatch logs?

Debug application incidents by leveraging guided workflows that combine real-time log tailing for immediate error visibility and CloudWatch Insights for historical pattern matching to investigate and diagnose production errors.

Can I search for specific exception patterns across staging and production log groups?

Yes, you can search for exception patterns across staging and production log groups by using aws logs start-query to execute targeted historical searches and match common issues like errors and exceptions within your applications.

Does this approach work for validating deployments and monitoring service health over time?

Yes, this approach works for validating deployments and monitoring service health by querying CloudWatch logs to track application behavior, investigate incidents, and confirm service stability across staging and production environments over time.