Skip to main content

LogEntry

timestampstring<date-time>

Log timestamp

severitystring

Severity level (e.g., ERROR, WARN, INFO)

severity_numberinteger

Numeric severity level

bodystring

Log message body

trace_idstring

Associated trace ID

span_idstring

Associated span ID

log_attributes object

Log-specific attributes

property name*string
resource_attributes object

Resource attributes

property name*string
scope_namestring

Instrumentation scope name

LogEntry
{
"timestamp": "2024-07-29T15:51:28.071Z",
"severity": "string",
"severity_number": 0,
"body": "string",
"trace_id": "string",
"span_id": "string",
"log_attributes": {},
"resource_attributes": {},
"scope_name": "string"
}
Was this page helpful?