/install jrv-log-analyzer
Log Analyzer
Analyze any text-based log file for error patterns, severity breakdown, and anomaly detection.
Quick Start
python3 scripts/analyze_logs.py \x3Clogfile>
python3 scripts/analyze_logs.py app.log --top 20 --severity ERROR
python3 scripts/analyze_logs.py server.log --json --since "2026-03-01"
Features
- Severity classification — auto-detects FATAL, ERROR, WARN, INFO, DEBUG from log lines
- Error fingerprinting — groups similar errors by stripping variable parts (IPs, UUIDs, PIDs, timestamps)
- Anomaly detection — flags hours with error rates >2x the average
- Timestamp parsing — handles ISO 8601, syslog, and nginx/apache formats
- Flexible output — human-readable report or
--jsonfor piping
Options
| Flag | Description |
|---|---|
--top N |
Number of top error patterns (default: 15) |
--severity LEVEL |
Minimum severity filter (FATAL, ERROR, WARN, INFO, DEBUG) |
--json |
Output structured JSON |
--since TIMESTAMP |
Only analyze lines after this timestamp |
Workflow
- Run the analyzer on the target log file
- Review severity breakdown for overall health
- Check top error patterns for recurring issues
- Look at anomaly hours for incident windows
- Use
--jsonoutput to feed into other tools or reports
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jrv-log-analyzer - After installation, invoke the skill by name or use
/jrv-log-analyzer - Provide required inputs per the skill's parameter spec and get structured output
What is Log Analyzer?
Analyze log files to detect error patterns, aggregate by severity, group repeated errors by fingerprint, and flag anomaly time windows. Use when asked to ana... It is an AI Agent Skill for Claude Code / OpenClaw, with 266 downloads so far.
How do I install Log Analyzer?
Run "/install jrv-log-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Log Analyzer free?
Yes, Log Analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Log Analyzer support?
Log Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Log Analyzer?
It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.