From beeab48b676cf666895e323db4262777c693ce45 Mon Sep 17 00:00:00 2001 From: "Eric D. Schabell" Date: Thu, 19 Mar 2026 19:16:14 +0100 Subject: [PATCH] docs: processors: content-modifier: add otel_log_attributes context Add the missing otel_log_attributes context to the OpenTelemetry contexts table. Unlike the resource and scope contexts, this one operates per log record rather than on shared group data. Update the section intro text to reflect distinction accurately. Fixes #2482 Signed-off-by: Eric D. Schabell --- pipeline/processors/content-modifier.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pipeline/processors/content-modifier.md b/pipeline/processors/content-modifier.md index e30ac7143..c8805551f 100644 --- a/pipeline/processors/content-modifier.md +++ b/pipeline/processors/content-modifier.md @@ -30,16 +30,17 @@ The following contexts are available: ### OpenTelemetry contexts -Additionally, Fluent Bit provides specific contexts for modifying data that follows the OpenTelemetry log schema. All of these contexts operate on shared data across a group of records. +Additionally, Fluent Bit provides specific contexts for modifying data that follows the OpenTelemetry log schema. The following contexts are available: | Name | Telemetry type | Description | | ---- | -------------- | ----------- | -| `otel_resource_attributes` | Logs | Modifies the attributes of the log resource. | -| `otel_scope_name` | Logs | Modifies the name of a log scope. | -| `otel_scope_version` | Logs | Modifies version of a log scope. | -| `otel_scope_attributes` | Logs | Modifies the attributes of a log scope. | +| `otel_resource_attributes` | Logs | Modifies the attributes of the log resource. Operates on shared data across a group of records. | +| `otel_scope_name` | Logs | Modifies the name of a log scope. Operates on shared data across a group of records. | +| `otel_scope_version` | Logs | Modifies the version of a log scope. Operates on shared data across a group of records. | +| `otel_scope_attributes` | Logs | Modifies the attributes of a log scope. Operates on shared data across a group of records. | +| `otel_log_attributes` | Logs | Modifies the attributes of an individual OpenTelemetry log record. Operates per record. | {% hint style="info" %}