/install skylv-log-aggregation
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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skylv-log-aggregation - 安装完成后,直接呼叫该 Skill 的名称或使用
/skylv-log-aggregation触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。