If an OpenTelemetry system is ingesting LogObject LogRecord, the collector will need to pull information from the TraceContext field. This structure contains the Trace_ID and SpanId, It might also contain ParentSpanId( if one was provided). The SpanId field is used to group LogRecords together. If the SpanId field is null, then for each unique entry in the GroupingId field, the import tool shall generate a unique SpanId.

Bibliography

SYSLOG – The Syslog Protocol

https://datatracker.ietf.org/doc/html/rfc5424

OpenTelemetry – Open Telemetry Overview

https://opentelemetry.io/docs/https://opentelemetry.io/docs/

__________