OpenParable
Skip to content
← Back to skills

Logging Migrator

DevOps & Security
logging-migrator

Logging Migrator is an Agent Skill for devops & security published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Migrate logging infrastructure with format standardization, structured logging, and aggregation setup

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/code-migration-modernization/skills/logging-migrator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/logging-migrator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Logging Migrator Skill

Migrates logging infrastructure, handling log format standardization, structured logging conversion, and aggregation setup.

Purpose

Enable logging modernization for:

  • Log format standardization
  • Structured logging conversion
  • Log aggregation setup
  • Correlation ID injection
  • Retention policy migration

Capabilities

1. Log Format Standardization

  • Define standard format
  • Convert existing logs
  • Implement across services
  • Validate compliance

2. Structured Logging Conversion

  • Convert to JSON format
  • Add metadata fields
  • Handle custom fields
  • Support multiple languages

3. Log Aggregation Setup

  • Configure centralized logging
  • Set up log shipping
  • Handle high volume
  • Implement failover

4. Correlation ID Injection

  • Implement trace IDs
  • Propagate across services
  • Handle async operations
  • Enable distributed tracing

5. Log Level Normalization

  • Standardize log levels
  • Map between frameworks
  • Configure filtering
  • Handle verbosity

6. Retention Policy Migration

  • Define retention rules
  • Implement rotation
  • Handle archival
  • Manage storage

Tool Integrations

ToolPurposeIntegration Method
ELK StackLog aggregationConfig
DatadogObservabilityAPI
SplunkLog analysisAPI
LokiLog aggregationConfig
FluentdLog shippingConfig

Output Schema

{
  "migrationId": "string",
  "timestamp": "ISO8601",
  "logging": {
    "format": "string",
    "aggregation": {
      "tool": "string",
      "endpoint": "string"
    },
    "retention": {
      "days": "number",
      "archival": "boolean"
    }
  },
  "services": [
    {
      "name": "string",
      "status": "migrated|pending",
      "logFormat": "string"
    }
  ]
}

Integration with Migration Processes

  • logging-observability-migration: Primary migration tool
  • cloud-migration: Cloud logging setup

Related Skills

  • performance-baseline-capturer: Observability metrics

Related Agents

  • observability-migration-agent: Full observability
  • operational-readiness-agent: Operations setup