Documentation

Support

Log schema

Understand the OpenTelemetry-compliant logging schema and the fields available in all log entries.
Read time 1 minuteLast updated 5 days ago

The Logging schema is built upon the OpenTelemetry standard. You can expect the following fields in all log entries:

Field

Description

timestamp
The timestamp of the record, in RFC3339 format.
severityText
The human-readable severity text. For example,
Error
or
Debug
.
severityNumber
The matching severity number of the severity text. Refer to the OpenTelemetry documentation for mappings.
body
The log message.
resourceAttributes
OpenTelemetry attributes associated with the origin of the log entry. For example
service.name
.
logAttributes
The log properties, custom user-defined attributes and OpenTelemetry attributes associated with the log entry itself. For example,
example.userId
or
exception.message
.