← 返回 Skills 市场
LookupMark Log Analyzer
作者
LookUpMark
· GitHub ↗
· v1.1.0
· MIT-0
114
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install lookupmark-log-analyzer
功能描述
Securely analyze system and application logs with automatic sensitive data redaction. Supports OpenClaw gateway logs (journalctl), RAG indexing logs, and que...
使用说明 (SKILL.md)
Log Analyzer
Secure log analysis with automatic redaction of tokens, keys, and passwords.
Usage
# Error summary across all sources (default)
python3 scripts/analyzer.py
# Specific source
python3 scripts/analyzer.py --source openclaw # Gateway logs
python3 scripts/analyzer.py --source rag # RAG indexing logs
python3 scripts/analyzer.py --source queries # RAG query logs
# Search across all logs
python3 scripts/analyzer.py --search "OOM"
# Show only errors
python3 scripts/analyzer.py --source openclaw --errors
# More lines
python3 scripts/analyzer.py --source openclaw --last 500
Log Sources
| Source | Type | Path |
|---|---|---|
openclaw / gateway |
journalctl | openclaw-gateway unit |
rag |
file | ~/.local/share/local-rag/index-batch.log |
queries |
file | ~/.local/share/local-rag/queries.log |
Security
- ALLOWED_SOURCES only: Cannot read arbitrary log files
- Auto-redaction: Tokens, API keys, passwords, age keys are replaced with
[REDACTED] - Read-only: Never modifies log files
- No network: All local
- Safe in groups: Sanitized output contains no secrets
Error Detection
Automatically detects: ERROR, FATAL, OOM, SIGKILL, FAILED, timeout, refused, denied, traceback, exception, segfault
安全使用建议
This skill appears to be what it claims: a local, read-only log analyzer with redaction. Before installing or running it, review the included script and be aware of these points: (1) it reads only the journal unit openclaw-gateway and two files under ~/.local/share/local-rag — verify those are the logs you expect; (2) it loads ~/.config/log-analyzer/config.json which can change redaction or error patterns — inspect or create that file if you need stricter redaction; (3) the --search pattern accepts arbitrary regexes from the user — avoid running untrusted or extremely complex regexes (ReDoS); (4) redaction is regex-based and may not catch every secret — do not paste sanitized output into untrusted external services without spot-checking; (5) it invokes journalctl via subprocess (user scope), so ensure you run it as the intended user and not with elevated privileges. If you want extra assurance, run the script locally and inspect its output before granting it any broader automated invocation.
能力评估
Purpose & Capability
Name/description claim secure log analysis with redaction; the included script implements that and only targets the declared sources (journalctl unit openclaw-gateway and two local RAG log files). No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md and the script are consistent: they limit reads to ALLOWED_SOURCES and state read-only/no-network. The script does load a user config (~/.config/log-analyzer/config.json) to override error and redact patterns — this can change detection/redaction behavior if the local config is modified. Also user-supplied search regexes are executed locally (could cause expensive regex evaluation).
Install Mechanism
No install spec and only a small Python script are provided, so nothing is downloaded or written to disk by an installer. This is the lowest-risk installation model.
Credentials
The skill requests no environment variables, no credentials, and no special config paths beyond a user-scoped config file for optional pattern overrides. Those config and log paths are proportionate to a log analyzer.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system settings. It reads a per-user config file and local logs only; it does not create persistent system-wide privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lookupmark-log-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/lookupmark-log-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Configurable error/redact patterns via config file. Added base64 and card number redaction.
v1.0.0
Initial release. journalctl + file log analysis. Auto-redaction of tokens/keys. Error detection and summarization.
元数据
常见问题
LookupMark Log Analyzer 是什么?
Securely analyze system and application logs with automatic sensitive data redaction. Supports OpenClaw gateway logs (journalctl), RAG indexing logs, and que... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。
如何安装 LookupMark Log Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lookupmark-log-analyzer」即可一键安装,无需额外配置。
LookupMark Log Analyzer 是免费的吗?
是的,LookupMark Log Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
LookupMark Log Analyzer 支持哪些平台?
LookupMark Log Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 LookupMark Log Analyzer?
由 LookUpMark(@lookupmark)开发并维护,当前版本 v1.1.0。
推荐 Skills