Backend & systems·Observability and operations
you log an object with named fields instead of a sentence, so you can query on user id rather than grep for it.
Structured logging
Also calledJSON logs, key-value logging
Emitting logs as machine-parseable records with consistent field names. It turns logs into something queryable and aggregatable rather than something you read. The discipline is in the field names: a user id logged under four different keys is four fields that cannot be joined.