PoCAT Documentation Get Started

Log Analysis Guide

Correlation-ID-based RCA and operational KPIs.

Last updated: 2026-05-27 Section: Troubleshooting

Effective RCA rebuilds the transaction chain with Correlation ID, not isolated log lines.

Analysis workflow

  1. Confirm incident window and affected APIs
  2. Collect gateway → upstream logs by Correlation ID
  3. Classify error codes, latency, and retry patterns
  4. Correlate DB/HTTP/broker metrics
  5. Apply temporary and permanent fixes separately

Key KPIs

KPIDescriptionTarget example
MTTATime to detect< 5 min
MTTRTime to recover< 30 min
P95 Latency95th percentile delayWithin SLO
Error RateFailure ratio< 1%
{
  "timestamp": "...",
  "level": "ERROR",
  "service": "gateway-payment",
  "correlationId": "trace-uuid",
  "routeId": "payment-v2",
  "upstream": "svc-billing",
  "errorCode": "UPSTREAM_TIMEOUT",
  "latencyMs": 742
}