← 返回 Skills 市场
sky-lv

Skylv Log Aggregation

作者 SKY-lv · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
80
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install skylv-log-aggregation
功能描述
Aggregate and search logs from all your services in one place. Find errors, spot anomalies, debug faster — no SSH into individual servers.
使用说明 (SKILL.md)

log-aggregation

All your logs in one place. Search across services, find errors instantly, spot anomalies before they become outages — no SSH needed.

What It Does

  • Collect logs — From files, stdout, syslog, Docker, cloud services
  • Search — Full-text search with filters and time ranges
  • Parse — Auto-detect formats, extract fields (JSON, Apache, custom)
  • Aggregate — Group by service, level, time bucket
  • Alert — Trigger on error rate spikes, specific patterns
  • Export — To files, SIEM systems, or dashboards

Quick Start

# 1. Collect logs from your app
collect logs from /var/log/myapp/*.log

# 2. Search for errors
search error logs from last hour

# 3. Find specific pattern
search logs containing "payment failed" from today

# 4. Check error rate
get error count per minute from last 30 minutes

Common Use Cases

🐛 Debug Production Issue

# User reported error at 2:30 PM
search logs containing "user_id=12345" from 2:00 PM to 2:45 PM

# Find the stack trace
search logs containing "Exception" after "user_id=12345"

🚨 Monitor Error Spikes

# Check error rate
get error count per minute from last hour

# Set up alert
alert when error rate exceeds 10 per minute

# Alert on specific pattern
alert when logs contain "OutOfMemoryError"

📊 Analyze Performance

# Find slow requests
search logs containing "duration > 1000ms" from today

# Group by endpoint
aggregate logs by request_path calculate avg(duration)

🔍 Security Audit

# Find failed logins
search logs containing "login failed" from last 7 days

# Check for suspicious patterns
search logs containing "SELECT *" or "DROP TABLE" from last 24 hours

All Commands

Command Purpose
collect logs from \x3Cpath> Ingest log files
search logs \x3Cquery> Full-text search
get error count Count errors by time
aggregate logs by \x3Cfield> Group and summarize
alert when \x3Ccondition> Create alert rule
export logs to \x3Cfile> Download results
parse logs as \x3Cformat> Set parser format
tail logs from \x3Cservice> Live log streaming

Supported Log Sources

Files: /var/log/*.log, rotating logs, compressed archives

Docker: Container stdout/stderr

Cloud: AWS CloudWatch, GCP Logging, Azure Monitor

Syslog: Local and remote syslog

Applications: Node.js, Python, Java, Go loggers


Requirements

  • Node.js 18+
  • Optional: Elasticsearch or Loki for large-scale storage
  • Optional: Grafana for visualization
安全使用建议
Review carefully before installing or using. Limit it to specific log paths and cloud projects, use read-only log-scoped credentials, redact secrets before indexing or export, and confirm where any indexes, exports, and alerts will be stored and how to delete them.
功能分析
Type: OpenClaw Skill Name: skylv-log-aggregation Version: 1.0.1 The skill bundle contains metadata and documentation for a log aggregation and analysis tool. The SKILL.md file describes standard features such as log collection, searching, and alerting, and lacks any evidence of malicious instructions, prompt injection, or hidden data exfiltration logic.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The log-aggregation purpose is coherent, but the described capability covers all logs across files, Docker, syslog, cloud services, exports, and alerts; logs commonly contain secrets, tokens, customer data, and operational details.
Instruction Scope
Commands such as collecting from arbitrary paths, exporting logs, and creating alerts are documented without clear allowed paths, exclusions, confirmation requirements, redaction, retention, or deletion guidance.
Install Mechanism
The registry says this is instruction-only with no install spec or code, while the SKILL.md mentions Node.js and optional storage/visualization systems; this limits review of how ingestion, storage, and exports would actually be implemented.
Credentials
The skill lists host-level and cloud log sources, but metadata declares no required credentials, config paths, or binaries, leaving the expected privilege boundary unclear.
Persistence & Privilege
Alert rules imply ongoing monitoring, which is expected for log aggregation, but the artifacts do not explain where alerts persist or how users remove them.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skylv-log-aggregation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skylv-log-aggregation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Expanded and modernized the skill documentation for clarity and quick onboarding. - Added detailed command usage examples for faster troubleshooting and common scenarios. - Updated feature descriptions to highlight log collection, search, aggregation, and alerting across multiple sources. - Improved formatting and structure, including a command reference table and clear use case sections. - Added information about supported integrations (Docker, cloud, syslog, major loggers) and optional dependencies.
v1.0.0
Initial release of log-aggregation skill providing centralized log collection and analysis. - Collect, parse, search, and analyze logs from multiple sources (files, stdout, syslog, cloud). - Supports log aggregation, full-text search, and advanced filtering. - Includes real-time alerting for errors and anomalies. - Visualize logs with dashboards and export to files or SIEM systems. - Designed for debugging, error tracking, security audit, and compliance needs.
元数据
Slug skylv-log-aggregation
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Skylv Log Aggregation 是什么?

Aggregate and search logs from all your services in one place. Find errors, spot anomalies, debug faster — no SSH into individual servers. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 80 次。

如何安装 Skylv Log Aggregation?

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

Skylv Log Aggregation 是免费的吗?

是的,Skylv Log Aggregation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skylv Log Aggregation 支持哪些平台?

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

谁开发了 Skylv Log Aggregation?

由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.1。

💬 留言讨论