← 返回 Skills 市场
theshadowrose

LogTail Smart Log Monitor & Analyzer

作者 Shadow Rose · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
513
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install log-tail-sr
功能描述
Monitor log files in real-time. Filter noise, surface errors, summarize patterns, alert on anomalies. Makes logs readable.
使用说明 (SKILL.md)

LogTail Smart Log Monitor & Analyzer

Monitor log files in real-time. Filter noise, surface errors, summarize patterns, alert on anomalies. Makes logs readable.


Logs are noisy. LogTail finds the signal.

Usage

const { LogTail } = require('./src/log-tail');
const tail = new LogTail({
  files: ['./logs/app.log', './logs/error.log'],
  filters: {
    ignore: ['DEBUG', 'health_check'],
    highlight: ['ERROR', 'FATAL', 'timeout']
  }
});

tail.watch((entry) => {
  if (entry.severity === 'error') console.log('🔴', entry.message);
});

const summary = await tail.summarize({ period: '1h' });

Summary Output

📋 Log Summary — Last Hour

Total: 12,847 entries
Errors: 23 (0.18%)
Warnings: 156 (1.2%)

Top errors:
  1. "Connection timeout" — 12x (clustered 2:15-2:20 PM)
  2. "Rate limit exceeded" — 8x (spread)
  3. "File not found" — 3x

Pattern: Timeout spike correlates with backup job at 2:15 PM

Features

  • Real-time tailing with smart filtering
  • Pattern detection — recurring errors, time correlations
  • Noise reduction — configurable ignore patterns
  • Anomaly detection — "Error rate 3x normal"
  • Multi-file — multiple log files simultaneously
  • Format agnostic — JSON, plaintext, syslog, custom

⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from the use or misuse of this software — including but not limited to financial loss, data loss, security breaches, business interruption, or any indirect/consequential damages.
  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for their use case, environment, and risk tolerance.
  • No guarantee is made regarding accuracy, reliability, completeness, or fitness for any particular purpose.
  • The author(s) are not responsible for how third parties use, modify, or distribute this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system. The author(s) are not responsible for data loss, corruption, or unauthorized access resulting from software bugs, system failures, or user error. Always maintain independent backups of important data. This software does not transmit data externally unless explicitly configured by the user.


Support & Links

🐛 Bug Reports [email protected]
Ko-fi ko-fi.com/theshadowrose
🛒 Gumroad shadowyrose.gumroad.com
🐦 Twitter @TheShadowyRose
🐙 GitHub github.com/TheShadowRose
🧠 PromptBase promptbase.com/profile/shadowrose

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr

安全使用建议
This skill appears to do what it claims: tail and analyze local logs. Before installing/running: (1) ensure you pass only log file paths you intend to monitor (logs can contain secrets/PII); (2) run it with least privilege (don't run as root) so it can't read unrelated files; (3) be aware it buffers up to maxBuffer entries in memory—reduce maxBuffer for low-memory environments; (4) there is no network activity in the provided code, but if you configure integration/alerting later, review any added code or settings for outbound endpoints; (5) if you need higher assurance, run the included src/log-tail.js in an isolated test environment and review the file yourself (the full source is included).
功能分析
Type: OpenClaw Skill Name: log-tail-sr Version: 1.0.0 The LogTail skill bundle is a standard utility for real-time log monitoring and analysis. The implementation in `src/log-tail.js` uses built-in Node.js modules (`fs`, `path`) to read and parse local files without any external dependencies, network requests, or command execution. No evidence of data exfiltration, prompt injection, or malicious intent was found in the code or documentation.
能力评估
Purpose & Capability
The name/description, SKILL.md examples, README, and the included src/log-tail.js all implement a local log-tailing and summarization capability. No unexpected binaries, cloud credentials, or unrelated access are requested.
Instruction Scope
SKILL.md and the code instruct the agent/user to provide local log file paths and show how to watch/summarize entries. There are no instructions to read other system config, secrets, or to transmit data externally. The disclaimer explicitly states data is processed/stored locally.
Install Mechanism
There is no install spec; the skill is instruction-only with an included Node.js source file. No downloads, external installers, or archive extraction are present.
Credentials
The skill requests no environment variables or credentials (ok). However, it reads arbitrary local log files and buffers entries in memory, so logs may contain sensitive data (secrets, PII). This is expected for a log tool but is a privacy consideration the user must manage via file selection and process permissions.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modify other skills. It keeps an in-memory buffer and uses fs.watchFile; typical runtime behavior for a log watcher.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install log-tail-sr
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /log-tail-sr 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial upload
元数据
Slug log-tail-sr
版本 1.0.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 1
常见问题

LogTail Smart Log Monitor & Analyzer 是什么?

Monitor log files in real-time. Filter noise, surface errors, summarize patterns, alert on anomalies. Makes logs readable. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 513 次。

如何安装 LogTail Smart Log Monitor & Analyzer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install log-tail-sr」即可一键安装,无需额外配置。

LogTail Smart Log Monitor & Analyzer 是免费的吗?

是的,LogTail Smart Log Monitor & Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

LogTail Smart Log Monitor & Analyzer 支持哪些平台?

LogTail Smart Log Monitor & Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 LogTail Smart Log Monitor & Analyzer?

由 Shadow Rose(@theshadowrose)开发并维护,当前版本 v1.0.0。

💬 留言讨论