You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/outputs/opentelemetry.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ Only HTTP endpoints are supported.
37
37
|`logs_span_id_metadata_key`| Specify a `SpanId` key to look up in the metadata. |`$SpanId`|
38
38
|`logs_trace_id_metadata_key`| Specify a `TraceId` key to look up in the metadata. |`$TraceId`|
39
39
|`logs_attributes_metadata_key`| Specify an `Attributes` key to look up in the metadata. |`$Attributes`|
40
+
|`logs_body_key_attributes`| When enabled (`true`), Fluent Bit will place all parsed JSON fields (except the one mapped by `logs_body_key`) inside the `attributes` section of the OpenTelemetry `LogRecord`. This is useful if you want structured key/value pairs as attributes, while still mapping a specific field (defined by `logs_body_key`) to the `body`. |`false`|
40
41
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
0 commit comments