算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
setting-up-log-aggregation【设计与创意】Execute use when setting up log aggregation solutions using ELK, Loki, or Splunk. Trigger with phrases like "setup log aggregation", "deploy ELK stack", "configure Loki", or "install Splunk". Generates production-ready configurations for data ingestion, processing, storage, and visualization with proper security and scalability.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: setting-up-log-aggregation description: 'Execute use when setting up log aggregation solutions using ELK, Loki, or Splunk. Trigger with phrases like "setup log aggregation", "deploy ELK stack", "configure Loki", or "install Splunk". Generates production-ready configurations for data ingestion, processing, storage, and visualization with proper security and scalability.
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(docker:), Bash(kubectl:) version: 1.26.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Deploy centralized log aggregation platforms (ELK Stack, Grafana Loki, Splunk) with ingestion pipelines, structured parsing, retention policies, visualization dashboards, and alerting. Configure log shippers (Filebeat, Promtail, Fluentd) to collect from applications, containers, and system logs with proper security and scalability.
| Error | Cause | Solution |
|---|---|---|
Elasticsearch heap space exhausted | JVM heap too small for index volume | Increase ES_JAVA_OPTS heap size (set to 50% of available RAM, max 32GB) or add nodes |
Cannot connect to Elasticsearch | Network issue or Elasticsearch not started | Verify Elasticsearch is running and healthy; check firewall rules and bind address |
Failed to create index | Disk space full or index template misconfigured | Check disk usage with df -h; review index template settings and shard allocation |
Failed to parse log line | Grok pattern mismatch or unexpected log format | Test grok patterns with Kibana Grok Debugger; add fallback pattern for unmatched lines |
Promtail: too many open files | System file descriptor limit too low for log tailing | Increase ulimit -n to 65536; reduce the number of watched paths |