Search code examples
loggingfluentd

Fluentd - Ship log file and preserve it's format


Is possible to ship logs and maintain their format without serialization performed by Fluentd.

For instance, I would like to ship apache logs and have them stored on a remote host without transforming entires to JSON

I have checked file output plugin here but I'm unable to get a solid answer.


Solution

  • You can realize it by none parser and single_value format.

    http://docs.fluentd.org/articles/parser-plugin-overview#list-of-built-in-parsers http://docs.fluentd.org/articles/formatter-plugin-overview#list-of-built-in-formatters