Skip to content

Commit 8656f56

Browse files
PraveenJeffriAndroidDeveloperTom
authored andcommitted
docs: add logs_body_key_attributes option for opentelemetry output (fluent#2055)
add logs_body_key_attributes option for opentelemetry output plugin docs Signed-off-by: PraveenJeffriAndroidDeveloper <[email protected]> Signed-off-by: Tom <[email protected]>
1 parent 573e852 commit 8656f56

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)