log-aggregation by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill log-aggregation构建全面的日志聚合系统,以收集、解析和分析来自多个来源的日志,实现集中监控、调试和合规性审计。
最小化工作示例:
# docker-compose.yml - ELK Stack setup
version: "3.8"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.5.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
healthcheck:
test: curl -s http://localhost:9200 >/dev/null || exit 1
interval: 10s
timeout: 5s
retries: 5
logstash:
image: docker.elastic.co/logstash/logstash:8.5.0
volumes:
- ./logstash.conf:/usr/share/logstash/pipeline/logstash.conf
ports:
// ... (完整实现请参阅参考指南)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/ 目录下的详细实现:
| 指南 | 内容 |
|---|---|
| ELK Stack 配置 | ELK Stack Configuration |
| Logstash 管道配置 | Logstash Pipeline Configuration |
| Filebeat 配置 | Filebeat Configuration |
| Kibana 仪表板与告警 | Kibana Dashboard and Alerts |
| Loki 配置 (Kubernetes) | Loki Configuration (Kubernetes) |
| 日志聚合部署脚本 | Log Aggregation Deployment Script |
每周安装数
104
代码仓库
GitHub 星标数
116
首次出现
Jan 21, 2026
安全审计
安装于
opencode87
gemini-cli85
codex84
claude-code81
cursor80
github-copilot69
Build comprehensive log aggregation systems to collect, parse, and analyze logs from multiple sources, enabling centralized monitoring, debugging, and compliance auditing.
Minimal working example:
# docker-compose.yml - ELK Stack setup
version: "3.8"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.5.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
healthcheck:
test: curl -s http://localhost:9200 >/dev/null || exit 1
interval: 10s
timeout: 5s
retries: 5
logstash:
image: docker.elastic.co/logstash/logstash:8.5.0
volumes:
- ./logstash.conf:/usr/share/logstash/pipeline/logstash.conf
ports:
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| ELK Stack Configuration | ELK Stack Configuration |
| Logstash Pipeline Configuration | Logstash Pipeline Configuration |
| Filebeat Configuration | Filebeat Configuration |
| Kibana Dashboard and Alerts | Kibana Dashboard and Alerts |
| Loki Configuration (Kubernetes) | Loki Configuration (Kubernetes) |
| Log Aggregation Deployment Script | Log Aggregation Deployment Script |
Weekly Installs
104
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode87
gemini-cli85
codex84
claude-code81
cursor80
github-copilot69
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
99,100 周安装