360 Secure SkillHub
360 安全技能中心

Log Analyzer

读取指定日志文件,筛选 ERROR/WARN/CRITICAL 严重级别行,按消息相似度分组,输出包含扫描总行数、各级别计数、问题分组、样例行与建议首查项的 Markdown 报告;由 Node 脚本本地执行,未发现外部服务依赖。

neo1307
neo1307
热度 51.39
最近更新 2026-05-11 17:34:12
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理 / 摘要总结 / 报告撰写 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add neo1307-log-analyzer
Metadata
name
log-analyzer
description
Read a log file, extract ERROR/WARN/CRITICAL lines, group similar messages, and produce a concise summary report. Use when analyzing application logs, agent logs, service logs, or audit outputs for repeated failures, warning clusters, or critical events.

Log Analyzer

Read a target log file, isolate important severity lines, group similar messages, and emit a Markdown summary.

Workflow

  1. Confirm the input log path.
  2. Run index.js with --input <logfile> and optional --out <report.md>.
  3. Review the grouped output for dominant error families.
  4. Use the report as a triage artifact, not as the only source of truth.

Output

Always include:

  • total scanned lines
  • WARN / ERROR / CRITICAL counts
  • grouped issue buckets
  • sample lines
  • suggested first checks