Use for log analysis, error tracking, alerts, and dashboard.
Scanned 10/4/2026
npx -y skills add openamer/openamer --skill log-analyzer --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Log Analyzer?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/openamer-log-analyzer)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: log-analyzer
description: Use for log analysis, error tracking, alerts, and dashboard.
---
# Log Analyzer Skill
Integrierte Log-Analyse für OpenAmer: Error-Rate-Tracking, Pattern-Erkennung, Alert-Generation, Trend-Analyse und HTML-Dashboard.
## Script
`C:\Users\damir\scripts\log-analyzer.py`
## Scan-Pfade
| Quelle | Pfad |
|--------|------|
| Cron-Output | `<OPENAMER_HOME>/cron/output/**/*.log` |
| Cron-Output | `<OPENAMER_HOME>/cron/output/**/*.md` |
| Logs | `<OPENAMER_HOME>/logs/*.log` |
| Security-CVE | `~/.security-cve/*.log` |
| Self-Healer | `~/.self-healer/memory.json` |
## CLI-Usage
```bash
python ~/scripts/log-analyzer.py --scan # Einmaliger Scan
python ~/scripts/log-analyzer.py --watch # Daemon-Modus (alle 60s)
python ~/scripts/log-analyzer.py --report # JSON-Report auf stdout
python ~/scripts/log-analyzer.py --dashboard # HTML-Dashboard erzeugen
python ~/scripts/log-analyzer.py --watch --interval 120 # Watch alle 120s
```
## State
State und Dashboard werden in `~/.log-analyzer/` gespeichert:
- `state.json` — letzter Scan, bekannte Patterns, Error-Historie
- `dashboard.html` — generiertes HTML-Dashboard
## Features
- **Error-Rate**: Fehler pro Minute (letzte 5 Minuten / 5)
- **Top 10**: Häufigste Fehlermeldungen
- **Trends**: Vergleich letzte 30 Min vs. vorherige 30 Min (rising/falling/stable)
- **Pattern-Erkennung**: Clustering ähnlicher Fehler durch Exception-Namen, HTTP-Status, CamelCase-Wörter
- **Alert-Generation**: Alarm bei > 5 ERROR/min, Info bei neuen Patterns
- **HTML-Dashboard**: Dark-Theme mit KPI-Karten, Sparkline, Level-Verteilung, Alerts, Fehler-Tabelle, Pattern-Tabelle, Historie
## Cron-Job
Ein Cron-Job führt `--scan` alle 15 Minuten aus (siehe OpenAmer-Cron `jobs.json`).
## Wartung
Bei neuen Log-Quellen: `SCAN_PATHS` in `log-analyzer.py` erweitern.
Bei Änderung des Alert-Schwellwerts: `ALERT_ERROR_RATE_PER_MIN` anpassen.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!