Operators struggle to query free-text Lambda logs for citizenId, action, and latencyMs. What logging change helps CloudWatch Logs Insights?
Select an answer to reveal the explanation.
Short Explanation
Free-text novels fight Insights. Structured JSON with citizenId, action, and latencyMs turns log search into fielded queries operators can trust.
Full Explanation
Structured logging emits machine-parseable JSON fields that CloudWatch Logs Insights can filter and aggregate efficiently. Unstructured prose, opaque binary-only blobs, or logs confined to /tmp hinder operational queries for citizenId, action, and latency.