用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/higress-group/hiclaw-log-search --skill log-search命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | log-search |
| description | HiClaw 日志查询服务 - 查询和管理 HiClaw 系统所有组件的日志。提供 Web UI 和 REST API,支持日志过滤、搜索和实时刷新。 |
提供 HiClaw 系统的集中式日志查询服务,包括 Web UI 和 REST API。
| 组件 | 说明 |
|---|---|
| higress-gateway | Higress 网关日志 |
| higress-controller | Higress 控制器日志 |
| higress-pilot | Higress Pilot 日志 |
| higress-console | Higress 控制台日志 |
| higress-apiserver | Higress API Server 日志 |
| manager-agent | Manager Agent 日志 |
| mc-mirror | MinIO 同步日志 |
| minio | MinIO 服务日志 |
| tuwunel | Matrix 服务器日志 |
| nginx-access | Nginx 访问日志 |
| nginx-error | Nginx 错误日志 |
| supervisord | Supervisor 日志 |
| 端点 | 方法 | 说明 |
|---|---|---|
/log-search/api/health | GET | 健康检查 |
/log-search/api/components | GET | 获取组件列表 |
/log-search/api/logs | GET | 查询日志 |
# 1. 复制文件到容器
cp -r skill/* /opt/log-search/
# 2. 启动 Node.js 服务
node /opt/log-search/server.js &
# 3. 配置 Nginx
cp ui/nginx.conf /etc/nginx/conf.d/log-search.conf
nginx -s reload
# 4. 配置 Higress 路由
# 参见 scripts/setup-higress.sh
日志文件路径在 server.js 中的 COMPONENTS 对象定义,可根据实际环境修改。
部署完成后通过 http://<ip>:18080/log-search/ 访问。