log-management-system

Design and implement log management systems with rotation, retention, and forwarding.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/wojons/skills --skill log-management-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: log-management-system
Source: https://github.com/wojons/skills/tree/main/skills/log-management-system
Command: npx skills add https://github.com/wojons/skills --skill log-management-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of managing application and system logs, ensuring efficient storage, retrieval, and compliance.

Core Features & Use Cases

  • Log Rotation & Retention: Implements policies for managing log file size and age.
  • Forwarding & Aggregation: Sets up reliable log shipping to centralized systems.
  • Storage Tiering: Optimizes costs by using different storage types for different log ages.
  • Use Case: You need to set up a robust logging infrastructure for a new microservice, ensuring logs are rotated daily, retained for 30 days in hot storage, and then moved to cold storage for a year, all while being forwarded to Elasticsearch.

Quick Start

Configure log rotation for your application logs to rotate daily, keep 7 old files, and compress them using gzip.

Frequently Asked Questions about log-management-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure log rotation and retention policies for application logs?

Configure log rotation by scheduling daily rotations to manage file size and age, keeping a specified number of old files and compressing them with gzip. Retention policies then dictate moving older logs to cold storage to optimize costs while maintaining compliance.

What is the best way to set up log forwarding and aggregation for a microservice?

Set up log forwarding by configuring tools like Fluentd to reliably ship logs from your microservices to centralized aggregation systems such as Elasticsearch. This ensures scalable observability by automating the collection and routing of log data.

How does storage tiering work for long-term log retention and compliance?

Storage tiering optimizes costs by keeping recent logs in hot storage for fast retrieval, then moving aged logs to cheaper cold storage. This lifecycle management ensures compliance with long-term retention requirements without excessive infrastructure expenses.

Can I use Fluentd and logrotate together to manage logging infrastructure?

Yes, you can use logrotate for local file size and age management while using Fluentd for reliable log forwarding to centralized systems. Combining these tools automates log handling processes, addressing both local storage constraints and scalable observability needs.

Why does my log management system need lifecycle management for observability?

Lifecycle management is needed for observability because it prevents uncontrolled log data growth from degrading system performance. By automating retention, forwarding, and storage tiering, it ensures efficient retrieval and reliable compliance at scale.