Skip to main content

Output Formats

This page documents all output formats produced by Live Log Insight.

Output Files

FileDescriptionFormat
summary.mdHuman-readable reportMarkdown
anomalies.jsonDetected anomaliesJSON
recommendations.jsonAction recommendationsJSON
metrics.jsonAggregated metricsJSON
hypotheses.jsonRoot cause hypothesesJSON

Anomalies JSON

{
  "anomalies": [
    {
      "id": "anom_001",
      "type": "ERROR_SPIKE",
      "service": "auth-service",
      "severity": "high",
      "confidence": 0.92,
      "evidence": "Error rate increased 3.4x vs baseline",
      "metrics": {
        "current_value": 0.031,
        "baseline_value": 0.009,
        "change_factor": 3.4
      },
      "time_detected": "2026-02-10T14:32:00Z"
    }
  ],
  "total_anomalies": 1,
  "detection_time": "2026-02-10T14:35:00Z"
}

Recommendations JSON

{
  "recommendations": [
    {
      "id": "rec_001",
      "priority": "high",
      "category": "investigation",
      "action": "Check deployment logs",
      "rationale": "Deployment correlates with error spike",
      "steps": ["kubectl logs -n prod deploy/auth-service"],
      "estimated_time": "15 minutes"
    }
  ],
  "total_recommendations": 1,
  "priority_summary": {"high": 1, "medium": 0, "low": 0}
}

Metrics JSON

{
  "total_events": 12034,
  "error_rate": 0.031,
  "error_count": 373,
  "top_signatures": [
    {"signature": "DB_TIMEOUT", "count": 145, "percentage": 38.9}
  ],
  "service_stats": {
    "auth-service": {
      "total": 5234,
      "errors": 123,
      "error_rate": 0.024
    }
  },
  "baseline_comparison": {
    "error_rate_change": "+2.2%"
  }
}

Summary Markdown

# System Log Summary

**Time Range**: Last 24 hours

## Executive Summary
⚠️ Anomalies detected requiring attention

## Key Metrics
- Total Events: 12,034
- Error Rate: 3.1%

## Detected Anomalies
...