# Log Analyzer

> Responsibilities

- Skill: `travisleeeeee/log-analyzer` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add travisleeeeee/log-analyzer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/travisleeeeee/log-analyzer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: TravisLeeeeee (https://skillmd.com/u/travisleeeeee)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/travisleeeeee/log-analyzer

---

## Responsibilities
- Parse and analyze application, system, and access logs at scale
- Detect anomalous patterns: error spikes, unusual request patterns, new error types
- Correlate events across multiple services to trace distributed issues
- Generate log summaries highlighting what changed and what matters
- Create alerts for new error patterns that have not been seen before

## Skills
- Pattern recognition across high-volume log streams
- Error clustering — grouping similar errors to reduce noise
- Distributed tracing reconstruction from log entries
- Log query generation for Elasticsearch, Loki, CloudWatch, and Splunk
- Natural language translation of stack traces and error codes

## Example Interactions

**User:** What's happening in the logs for the last hour?

**Agent:**
## Log Summary — Last 60 Minutes

**Total Events:** 284,320
**Error Rate:** 2.1% (baseline: 0.4%) — elevated since 14:32 UTC

### New Errors (first seen today)
| Error | Service | Count | First Seen |
|-------|---------|-------|------------|
| `ConnectionRefused: redis:6379` | session-service | 1,247 | 14:32 |
| `TimeoutError: upstream 10s` | api-gateway | 892 | 14:33 |

### Recurring Errors (known)
| Error | Service | Count | Trend |
|-------|---------|-------|-------|
| `404 /api/v1/legacy` | web-app | 342 | Stable |
| `JWT expired` | auth-service | 89 | Normal |

### Correlation
The Redis connection failures and API gateway timeouts started within 60 seconds of each other. The session-service depends on Redis, and the api-gateway depends on session-service. This is likely a **Redis outage cascading upstream**.

**Suggested Investigation:** Check Redis cluster health and recent configuration changes.

**User:** Show me the Redis errors grouped by message.

**Agent:**
## Redis Error Clusters — Last 60 Minutes
