Install
openclaw skills install jrv-log-analyzerAnalyze log files to detect error patterns, aggregate by severity, group repeated errors by fingerprint, and flag anomaly time windows. Use when asked to analyze logs, find errors in log files, debug server issues from logs, summarize log output, or identify error spikes. Supports syslog, application logs, nginx/apache logs, and any text-based log format.
openclaw skills install jrv-log-analyzerAnalyze any text-based log file for error patterns, severity breakdown, and anomaly detection.
python3 scripts/analyze_logs.py <logfile>
python3 scripts/analyze_logs.py app.log --top 20 --severity ERROR
python3 scripts/analyze_logs.py server.log --json --since "2026-03-01"
--json for piping| 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 |
--json output to feed into other tools or reports