Hi Team, just a quick doubt, is there anyway to se...
# fluent-bit
v
Hi Team, just a quick doubt, is there anyway to send output as plain text, instead of json, in azure_blob plugin, i couldnt find any formatter like in s3 plugin
Copy code
{"@timestamp":"2025-09-23T08:37:56.538260Z","log":"{\"log\":\"2025-09-23T08:37:44+00:00 25854 hello-from-random-logger-98dc5fbf7-5b6tr\\n\",\"stream\":\"stdout\",\"time\":\"2025-09-23T08:37:44.957046012Z\"}"}
{"@timestamp":"2025-09-23T08:37:56.538260Z","log":"{\"log\":\"2025-09-23T08:37:44+00:00 25854 hello-from-random-logger-98dc5fbf7-5b6tr\\n\",\"stream\":\"stdout\",\"time\":\"2025-09-23T08:37:44.957046012Z\"}"}
I am getting output like this, I need it like
Copy code
INFO 2025-09-23T08:37:44+00:00 25854 hello-from-random-logger-98dc5fbf7-5b6tr\\n\",\"stream\":\"stdout\",\"time\":\"2025-09-23T08:37:44.957046012Z
INFO 2025-09-23T08:37:44+00:00 25854 hello-from-random-logger-98dc5fbf7-5b6tr\\n\",\"stream\":\"stdout\",\"time\":\"2025-09-23T08:37:44.957046012Z
Any help on this
p
Internally FB converts all data to structured records using msgpack (which is JSON with binary) so typically it will be represented as such. Unless there is a specific option to push a specific
key
which is what you want - you want the value of the
log
key - then probably not.
Does
docker run --rm -it fluent/fluent-bit:4.1.0 -o azure_blob --help
show any options for it that may not be documented for some reason?
I would raise a feature request so it can be tracked if there is not one already in the Github repo: https://github.com/fluent/fluent-bit/issues
v
I do not see options there for formating or log key
a
ah yea would be a good request