Intermediate Log Reading #json-logs #structured-logging #tracing #incident-response

Reading JSON / Structured Logs

5 exercises — traceId and distributed tracing, connection pool exhaustion, degraded health checks, circuit breakers, and rate limiting. Read log evidence and communicate findings clearly.

0 / 5 completed
JSON log field reference
  • timestamp — when the event happened (ISO 8601 / UTC)
  • level — DEBUG < INFO < WARN < ERROR < FATAL/CRITICAL
  • traceId / requestId — correlates events across multiple services for one request
  • service / component — which system emitted this log
  • msg — human-readable description of the event
  • duration_ms — time taken (latency signal)
  • error / error_code — machine-readable error identifier
1 / 5
A log entry reads:
{"timestamp":"2026-04-07T03:14:22.441Z","level":"ERROR","service":"payment-api","traceId":"9f2c1d8e","userId":"usr_8821","msg":"charge failed","error":"card_declined","duration_ms":312}

A colleague asks: "Which field should I use to find all other log entries from the same request across multiple services?" What is your answer?