Skip to main content

Configure Log Aggregation

Skill Verified Active

Set up centralized log aggregation with Loki and Promtail (or ELK stack), including log parsing, label extraction, retention policies, and integration with metrics for correlation. Use when consolidating logs from multiple services into a searchable system, replacing local log files with centralized queryable storage, correlating logs with metrics and traces, implementing structured logging with label extraction, or troubleshooting production incidents requiring cross-service log analysis.

Purpose

To enable users to establish a robust centralized log aggregation system for improved observability and incident troubleshooting.

Features

  • Deploy Loki and Promtail using Docker Compose
  • Configure Promtail for various log sources (system, containers, apps, Nginx, Kubernetes)
  • Implement log parsing, label extraction, and timestamp parsing
  • Demonstrate LogQL for querying logs and performing aggregations
  • Integrate logs with metrics and traces via Grafana data links
  • Configure log retention policies and compaction

Use Cases

  • Consolidating logs from multiple services into a searchable system
  • Replacing local log files with centralized queryable storage
  • Correlating logs with metrics and traces for full observability
  • Troubleshooting production incidents requiring cross-service log analysis

Non-Goals

  • Managing ELK stack deployments (focus is on Loki/Promtail)
  • Advanced Grafana dashboard creation (links to logs are provided)
  • Application-level instrumentation for trace IDs (instructions are provided on how to integrate them)

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Quality Score

Verified
95 /100
Analyzed about 21 hours ago

Trust Signals

Last commit1 day ago
Stars14
LicenseMIT
Status
View Source

Similar Extensions

Meta Observer

100

Track skill performance and emerging patterns

Skill
mshadmanrahman

Usage Tracker

100

Track and report local Claude Code usage per request: tokens consumed, estimated cost in €, sessions, projects, and tool breakdown. Use when the user asks about consumption, credits, usage, cost per request, wants to see a report, asks why a specific request was expensive, suspects a process is consuming tokens, wants to optimize their Claude Code usage, or wants to audit tool usage by request. Also triggers on Spanish phrases: 'cuánto me está costando', 'cuántos tokens', 'consumo de hoy', 'qué petición fue cara', 'está consumiendo mucho', 'optimizar consumo', 'reporte de uso', 'ver uso', 'instalar tracker', 'hook no registra'. Commands: /usage-tracker report [hoy|semana|mes|all] [proyecto], /usage-tracker top-requests [hoy|semana], /usage-tracker install, /usage-tracker status

Skill
j4rk0r

Sentry Python SDK

100

Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.

Skill
getsentry

Design On Call Rotation

100

Design sustainable on-call rotations with balanced schedules, clear escalation policies, fatigue management, and handoff procedures. Minimize burnout while maintaining incident response coverage. Use when setting up on-call for the first time, scaling a team from 2-3 to 5+ engineers, addressing on-call burnout or alert fatigue, improving incident response times, or after a post-mortem identifies handoff issues.

Skill
pjt222

Observability Designer

100

Observability Designer (POWERFUL)

Skill
alirezarezvani

Session Log

99

Summarize the current conversation session and append results to the weekly agent-log. Use when user says "log this", "session log", "summarize this session", or asks to write results to the agent-log.

Skill
michalparkola

© 2025 SkillRepo · Find the right skill, skip the noise.