reading-logs

Analyze application logs with grep, awk, sed, and jq to identify errors and patterns.

127|19|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/rileyhilliard/claude-essentials --skill reading-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reading-logs
Source: https://github.com/rileyhilliard/claude-essentials/tree/main/plugins/ce/skills/reading-logs
Command: npx skills add https://github.com/rileyhilliard/claude-essentials --skill reading-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

This Skill helps developers quickly identify errors and patterns in large log collections by performing targeted searches and iterative refinement, reducing time spent on manual log inspection.

Core Features & Use Cases

  • Targeted search and filtering: use glob patterns, time windows, and severity levels to constrain log data.
  • Contextual exploration: fetch surrounding lines and correlate events to build incident narratives.
  • Summarization & trends: generate concise incident summaries and detect recurring issues.
  • Use Case: During a failed deployment, run timeline.sh and aggregate-errors.sh to reveal error spikes and root causes.

Quick Start

Start by scanning a logs/ directory for errors and run a quick summary of incidents from the last 24 hours.

Frequently Asked Questions about reading-logs

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

FAQPage Schema
How do I analyze application logs to identify errors and patterns quickly?

Application log analysis uses glob-based discovery, filtering by time window and severity, and context extraction to identify errors and patterns. It applies command-line tools like grep, awk, sed, and jq to process large log stores and generate summarized incident reports.

What's the best way to search large log collections during an incident investigation?

Targeted log search constrains data using glob patterns, time windows, and severity levels. You extract surrounding lines to correlate events and build an incident narrative, then generate a concise summary to reveal error spikes and root causes.

Do I need jq installed to perform log analysis with this approach?

Yes, jq is a required dependency for this log analysis workflow. The process also requires standard command-line tools including grep, awk, and sed to perform filtering, context extraction, and structured data parsing.

Can I use grep and awk for ongoing log-pattern discovery across large stores?

Yes, grep and awk are supported for ongoing log-pattern discovery across large stores. The workflow applies glob-based log discovery and iterative refinement to detect recurring issues and generate trend summaries without manual inspection.

How do I extract context and surrounding lines when debugging application errors?

Contextual exploration fetches surrounding lines around matched errors to correlate events. This builds an incident narrative during debugging sessions, allowing you to trace root causes and identify related failures across the log data.

What limitations exist when using command-line tools for incident log analysis?

This command-line log analysis approach requires local access to log files and depends on tools like grep, awk, sed, and jq. It is designed for file-based log stores and does not query remote logging platforms or cloud services directly.