logging-config-agent

Configure logging systems for centralized structured application and infrastructure logs.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Unicorn/Radium --skill logging-config-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logging-config-agent
Source: https://github.com/Unicorn/Radium/tree/main/skills/devops/logging-config-agent
Command: npx skills add https://github.com/Unicorn/Radium --skill logging-config-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and structures scattered application and infrastructure logs to make debugging, monitoring, and compliance auditing faster and more reliable by reducing noise and improving queryability.

Core Features & Use Cases

  • Logging architecture design: define log levels, schema, correlation IDs, and structured formats (JSON) for consistent observability.
  • Aggregation and shipping: configure collectors and shippers (Filebeat, Fluentd, Promtail) and pipelines to send logs to ELK, Loki, or CloudWatch.
  • Parsing, indexing, and retention: implement parsing rules, index mappings, retention and archival policies, rotation, and cost optimization.
  • Use Case: Convert an Express.js application to JSON-structured logs, deploy Filebeat to collect /var/log/app/*.log, parse timestamps and levels, and forward to Elasticsearch with appropriate indices and retention settings.

Quick Start

Provide your application type, log file paths, destination platform (Elasticsearch, Loki, or CloudWatch), expected daily log volume, and retention/compliance constraints and ask for a complete structured logging and aggregation configuration.

Frequently Asked Questions about logging-config-agent

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

FAQPage Schema
How do I centralize and structure application logs for faster debugging?

Structured logging formats application outputs as JSON with defined schemas and correlation IDs, making logs queryable and reducing noise during debugging, monitoring, and compliance auditing across centralized platforms like ELK or CloudWatch.

How do I configure Filebeat to collect and forward logs to Elasticsearch?

Configure Filebeat to collect and forward logs to Elasticsearch by defining log file paths, setting up parsing rules for timestamps and levels, and specifying target indices along with retention policies to manage storage costs and compliance constraints.

What is the best way to set log retention and archival policies for compliance?

The best way to set log retention and archival policies is to define rotation rules and index mappings in your aggregation platform, balancing storage cost optimization against required compliance constraints for how long logs must be kept.

Can I use Fluentd or Promtail to ship logs to Loki or CloudWatch?

Yes, you can use Fluentd or Promtail to collect and ship application and infrastructure logs to Loki or CloudWatch, configuring the collectors to parse structured JSON formats and forward them according to your defined aggregation pipelines.

How do I parse timestamps and log levels from scattered application logs?

Parse timestamps and log levels from scattered logs by implementing parsing rules and index mappings within your log aggregation system, ensuring consistent formatting across application and infrastructure environments for reliable querying.