ワンクリックで
log-triage
Triage application and system logs to find root causes, anomalies, and error patterns
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Triage application and system logs to find root causes, anomalies, and error patterns
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate system architecture diagrams as Mermaid, PlantUML, or ASCII art from a description or codebase
Convert images or video frames to ASCII art, or generate ASCII animations from descriptions
Generate concept maps, mind maps, and ER diagrams from free-form descriptions
Design, implement, and debug ETL/ELT pipelines — batch or streaming, any source/sink
Explain SQL queries, execution plans, and performance issues in plain English with rewrites
Guide incident response: triage, diagnosis, mitigation, communication, and post-mortem
| name | log-triage |
| description | Triage application and system logs to find root causes, anomalies, and error patterns |
| category | ops |
Given logs, structured JSONL, or excerpts — identify errors, anomalies, and root causes quickly.
# JSON logs
jq 'select(.level == "error" or .level == "fatal")' app.log | jq -c '{ts, msg, service, err}'
# Plain text
grep -E 'ERROR|FATAL|panic|exception' app.log | sort | uniq -c | sort -rn | head -20
grep -m1 -E 'ERROR|FATAL' app.log
grep '"trace_id":"abc123"' *.log | sort -k1
jq -r 'select(.level=="error") | .msg' app.log | sort | uniq -c | sort -rn
| Error pattern | Likely cause |
|---|---|
connection refused on DB port | DB down or pool exhausted |
timeout on upstream | Upstream slow or dead; check circuit breaker |
OOM killed in k8s | Memory limit too low or memory leak |
too many open files | File descriptor limit; check ulimit -n |
certificate has expired | TLS cert needs renewal |
ECONNRESET in Node.js | Client disconnected; benign unless spike |
deadlock detected in Postgres | Competing transactions; check slow query log |
LOG TRIAGE REPORT — <date>
Source: <file or service>
Time range: <start> → <end>
SUMMARY
Total lines: N | ERROR: N | WARN: N | INFO: N
TOP ERRORS
1. [N×] "message" — first seen <ts>
2. [N×] "message" — first seen <ts>
ROOT CAUSE HYPOTHESIS
First error at <ts>: "<message>"
Caused by: <analysis>
Likely trigger: <deploy/traffic/dependency>
RECOMMENDED ACTIONS
1. ...
Paste the logs (or describe the file) and I will triage immediately.