event name
A fixed identifier for the kind of thing a log record describes, such as order_accepted, that never changes with the wording.
In more detail
Because the event name stays constant, occurrences can be counted reliably even if the human-readable message around it is edited. It usually sits on every record next to the timestamp, level and service name.
Example
{"event": "order_accepted"}Related terms
- structured logging — Writing each log entry as named fields, such as status, duration and request identifier, instead of a free-text sentence.
- log field — One named value inside a structured log record, such as order_id or event.
Taught in
- Structured Logging And Why Text Fails — Full-Stack Observability: Metrics, Tracing & Logging