log-analyzer
Installation
SKILL.md
Log Analyzer
Overview
Parse, filter, and analyze application and infrastructure logs to quickly identify root causes of production issues. Handles JSON structured logs, plaintext server logs, syslog format, and multi-line stack traces.
Instructions
1. Identify log format
Detect whether logs are JSON (one object per line), plaintext with timestamps, syslog, or mixed format. Look for common patterns:
- JSON:
{"timestamp":"...","level":"ERROR","message":"..."} - Syslog:
Feb 17 14:23:01 hostname service[pid]: message - Plaintext:
2026-02-17 14:23:01.234 ERROR [thread] class - message
2. Filter and extract relevant entries
When investigating an incident:
- Filter by time window (e.g., last 30 minutes before the alert)
Related skills