Reputation: 2221
Is it possible to have fluentd output logs as it is instead of json, just like tailing with zero modifications.
Please let me know, if there are any output plugins to achieve this.
thanks
Upvotes: 1
Views: 2277
Reputation: 1
"format single_value" in output plugin will do.
<match **>
@type file
path path-to-file
format single_value
</match>
Ref - https://docs.fluentd.org/formatter/single_value
Upvotes: 0
Reputation: 718
See following offcial articles:
none section: http://docs.fluentd.org/articles/in_tail
single_value: http://docs.fluentd.org/articles/out_file#format
Upvotes: 1