otel_normalize

otel_normalize #

CategoryScope
Transformrecord

The “otel_normalize” pipeline processor: map well-known source fields of the current record onto the canonical OTel log structure (typed fields + Resource), filling observed_timestamp and the derived severity_number when absent.

Configuration #

FieldTypeDefaultDescription
level_fieldsliststringFields treated as the log level.
message_fieldsliststringFields considered as the record’s message body, in priority order.
timestamp_fieldsliststringFields scanned for a parseable timestamp.
trace_fieldsmap[string]liststringPer-attribute source fields mapped into the trace context.
resource_fieldsliststringFields promoted into the record’s Resource attributes.
keep_originalboolKeep the original field after the transformation.

Example #

processor:
  - otel_normalize:
      level_fields: []
      message_fields: []
      timestamp_fields: []
      trace_fields: []
      resource_fields: []
Edit Edit this page