Skip to content

Commit 0142b7c

Browse files
docs: add logs_body_key_attributes option for opentelemetry output
Signed-off-by: PraveenJeffriAndroidDeveloper <[email protected]>
1 parent 49a51d6 commit 0142b7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pipeline/outputs/opentelemetry.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Only HTTP endpoints are supported.
3737
| `logs_span_id_metadata_key` | Specify a `SpanId` key` to look up in the metadata. | `$SpanId` |
3838
| `logs_trace_id_metadata_key` | Specify a `TraceId` key to look up in the metadata. | `$TraceId` |
3939
| `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` |
4041
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
4142

4243
## Get started

0 commit comments

Comments
 (0)