← Back to Skills Marketplace
johnnywang2001

Log Analyzer

by John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
266
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install jrv-log-analyzer
Description
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...
README (SKILL.md)

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 --json for 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

  1. Run the analyzer on the target log file
  2. Review severity breakdown for overall health
  3. Check top error patterns for recurring issues
  4. Look at anomaly hours for incident windows
  5. Use --json output to feed into other tools or reports
Usage Guidance
This skill appears to do what it says: analyze a log file you point it at and produce summaries. Before using it on sensitive systems: 1) inspect the script locally (it is included) and run it in a controlled environment; 2) be aware of two bugs — the '--since' timestamp filter uses simple string comparison (may be incorrect for varying timestamp formats) and the '--severity' option is computed but not enforced (it won't filter lines as expected); 3) ensure you only pass log files you intend to share with the tool (it reads the file you give it and nothing else); and 4) consider validating timestamp parsing for your log format and testing on a copy of logs if they contain sensitive PII. Overall there are no network calls or secret exfiltration code present.
Capability Analysis
Type: OpenClaw Skill Name: jrv-log-analyzer Version: 1.0.0 The skill is a standard log analysis tool designed to categorize log levels, group similar errors via fingerprinting, and identify anomaly windows. The Python script (scripts/analyze_logs.py) uses only standard libraries and contains no network calls, shell execution, or data exfiltration logic; it simply processes text files provided as input. The SKILL.md instructions are well-aligned with the script's functionality and do not contain any prompt injection attempts.
Capability Assessment
Purpose & Capability
Name/description match the included Python analyzer. The files and runtime instructions are limited to parsing and summarizing a user-specified log file; nothing requires cloud credentials, unrelated binaries, or system-wide configuration.
Instruction Scope
SKILL.md instructs running the bundled script on the target logfile and the script operates only on the file path the user supplies. There are some implementation issues: the '--since' comparison uses raw string comparison of extracted timestamp substrings (can give incorrect results across formats) and the computed 'severity_filter' is never actually applied to skip lines — the '--severity' flag is documented but not enforced. These are functional/robustness problems, not signs of hidden exfiltration or scope creep.
Install Mechanism
No install spec (instruction-only plus a small Python script included). No remote downloads or package installs are performed by the skill, minimizing installation risk.
Credentials
The skill declares no environment variables, credentials, or config paths and the code does not read env vars or external config files. It only reads the logfile path provided by the user.
Persistence & Privilege
The skill does not request permanent/always-on presence, does not modify agent configuration, and does not attempt to persist credentials or alter other skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install jrv-log-analyzer
  3. After installation, invoke the skill by name or use /jrv-log-analyzer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: severity classification, error fingerprinting, anomaly detection, JSON output
Metadata
Slug jrv-log-analyzer
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments