log field
One named value inside a structured log record, such as order_id or event.
In more detail
Fields let a log system filter, group and count records exactly. Field names act as an interface between teams: renaming one silently breaks every saved query and dashboard that used the old name, returning empty results rather than an error. Keep values typed, so a number field holds a number.
Related terms
- structured logging — Writing each log entry as named fields, such as status, duration and request identifier, instead of a free-text sentence.
- event name — A fixed identifier for the kind of thing a log record describes, such as order_accepted, that never changes with the wording.
- semantic conventions — OpenTelemetry's agreed names for common attributes, such as http.route and db.system, so every library records the same fact the same way.
Taught in
- Structured Logging And Why Text Fails — Full-Stack Observability: Metrics, Tracing & Logging