Documentation

Support

Log schema

Understand the OpenTelemetry-compliant logging schema and the fields available in all log entries.
Read time 1 minuteLast updated 18 hours 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 OpenTelemetry docs 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
unity.userId
or
exception.message
.