This walks you through setting up centralized logging with ELK Stack, Loki, or Splunk to collect and analyze logs across your infrastructure. You get Docker Compose configurations for the full ELK stack, Logstash pipeline configs for parsing, Filebeat setup for log shipping, and Kibana dashboard templates. The reference guides cover both traditional and Kubernetes deployments. Honestly, the best practices section is the most valuable part here because log aggregation is easy to set up badly. It'll save you from common mistakes like logging PII, ignoring retention costs, or running DEBUG level in production. Good starting point if you're moving past grepping server logs manually.

skills.sh installs
453
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill log-aggregation --agent claude-code

Installs into .claude/skills of the current project.

Files

Log Aggregation

Table of Contents

Overview

Build comprehensive log aggregation systems to collect, parse, and analyze logs from multiple sources, enabling centralized monitoring, debugging, and compliance auditing.

When to Use

  • Centralized log collection
  • Distributed system debugging
  • Compliance and audit logging
  • Security event monitoring
  • Application performance analysis
  • Error tracking and alerting
  • Historical log retention
  • Real-time log searching

Quick Start

Minimal working example:

# docker-compose.yml - ELK Stack setup
version: "3.8"

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1aj-geddes avatarsecrets-managementaj-geddes/useful-ai-promptsImplement secrets management with HashiCorp Vault, AWS Secrets Manager, or Kubernetes Secrets for secure credential storage and rotation.449skills.sh installs
2aj-geddes avatarcloud-cost-managementaj-geddes/useful-ai-promptsOptimize and manage cloud costs across AWS, Azure, and GCP using reserved instances, spot pricing, and cost monitoring tools.447skills.sh installs
3aj-geddes avatarcontainer-registry-managementaj-geddes/useful-ai-promptsManage container registries (Docker Hub, ECR, GCR) with image scanning, retention policies, and access control.444skills.sh installs
4secondsky avatarapp-store-deploymentsecondsky/claude-skillsPublishes mobile applications to iOS App Store and Google Play with code signing, versioning, and CI/CD automation. Use when preparing app releases, configuring437skills.sh installs
5aj-geddes avatarintermittent-issue-debuggingaj-geddes/useful-ai-promptsDebug issues that occur sporadically and are hard to reproduce. Use monitoring and systematic investigation to identify root causes of flaky behavior.433skills.sh installs
6pedronauck avatarelectron-builderpedronauck/skillsComprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds433skills.sh installs