-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Hi,
I’m using Fluent Bit v4.2.0 with the opentelemetry output plugin, and I want to send logs to an OTLP HTTP collector such that all fields in the input record appear under logRecord.attributes, not inside logRecord.body.
Fluent Bit configuration:
[SERVICE]
Flush 1
Daemon off
Log_Level info
Parsers_File /fluent-bit/etc/parsers.conf
[INPUT]
Name tail
Path /var/log/nginx/access.log
Tag nginx.access
Parser nginx_sa
Refresh_Interval 1
[FILTER]
Name modify
Match *
Rename uri sa.uri
Rename host sa.host
Rename method sa.method
Rename user_agent sa.user_agent
Rename status sa.status
[OUTPUT]
Name opentelemetry
Match *
Host otel
Port 4318
logs_uri /v1/logs
tls Off
logs_body_key_attributes true
Even with logs_body_key_attributes true, the plugin never writes attributes
How can I configure Fluent Bit v4.2.0 so that ALL record fields are emitted as OTLP logRecord.attributes?
Is this use-case supported by the current opentelemetry output plugin, or is this a limitation / bug?
Metadata
Metadata
Assignees
Labels
No labels