cloudwatch-query

Query CloudWatch Logs Insights for specified log groups and time ranges.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cuemath/dotclaude --skill cloudwatch-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudwatch-query
Source: https://github.com/cuemath/dotclaude/tree/main/skills/cloudwatch-query
Command: npx skills add https://github.com/cuemath/dotclaude --skill cloudwatch-query

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to efficiently query CloudWatch Logs Insights, enabling you to quickly find specific information, diagnose issues, and monitor your services without needing to manually navigate the AWS console or write complex queries from scratch.

Core Features & Use Cases

  • Service Log Analysis: Query logs for specific Cuemath services or custom log groups.
  • Error Detection: Quickly find recent errors or specific error patterns within logs.
  • Log Volume Monitoring: Count the number of logs within a specified time range.
  • Use Case: If a service is experiencing intermittent issues, you can use this skill to search for errors in the last hour for that specific service, helping you pinpoint the root cause.

Quick Start

Query the production logs for the 'user-service' for errors in the last 24 hours.

Frequently Asked Questions about cloudwatch-query

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

FAQPage Schema
How do I query CloudWatch logs to diagnose service issues?

Query CloudWatch logs to diagnose service issues by executing custom CloudWatch Logs Insights queries against specified log groups. The Skill supports flexible time range selection and service-specific stream filtering to help you pinpoint root causes.

Can I search for specific error patterns in AWS CloudWatch logs?

Yes, you can search for specific error patterns in AWS CloudWatch logs using custom query execution. The Skill allows you to target specific Cuemath services or custom log groups and select flexible time ranges to quickly find recent errors.

What is the best way to monitor log volume in CloudWatch Logs Insights?

The best way to monitor log volume in CloudWatch Logs Insights is to use this Skill to count the number of logs within a specified time range. It executes queries against your specified log groups to extract specific log data for analysis.

Do I need to manually navigate the AWS console to execute CloudWatch Logs Insights queries?

No, you do not need to manually navigate the AWS console to execute CloudWatch Logs Insights queries. This Skill allows you to run custom queries directly, supporting default log group configurations and service-specific stream filtering.

Does CloudWatch querying work with specific Cuemath application services?

Yes, CloudWatch querying works with specific Cuemath application services. The Skill supports default log group configurations and service-specific stream filtering, allowing you to query production logs for specific services like the user-service.

What are the limitations of querying CloudWatch logs for debugging?

Querying CloudWatch logs for debugging relies on CloudWatch Logs Insights syntax and specified time ranges. You must define target log groups or services correctly, as the Skill filters streams based on those configurations to extract data.