Fluentd v0.12.27 has been released

Hi users!

We have released Fluentd version 0.12.27. Here are the changes:

New features / Enhancement

  • config: Add simplified syntax for hash and array: #939
  • config: Add include support for Ruby DSL: #950
  • in_http: Add support of X-Forwarded-For header: #1051
  • in_syslog: Add message_length_limit option to receive longer udp syslog messages: #1128

Bug fixes

  • test: Fix test for TimeSlicedOutput: #941
  • example: Use @type in example confs: #1043
  • Fix regression of fluent-debug command: #1046
  • config: Fix wrong message for unsupported parameter: #1132

config: Add simplified syntax for hash and array

Currently, we need to write json array / object for array / hash type parameters. Since v0.12.27, we introduced new short-hand syntax to write values easily.

Here is an example. If you have a following plugin:

class FooInput < Fluent::Input
  Fluent::Plugin.register_input('foo', self)

  config_param :array_param, :array
  config_param :hash_param, :hash

  # ...
end

You can write the configuration below:

<source>
  @type foo
  array_param 1,2,3  # same as ["1", "2", "3"]
  hash_param x:1,y:2 # same as {"x":1, "y":2}
</source>

For array type parameter, plugin authors easy to migrate string type to array type without configuration change.

in_syslog: Add message_length_limit option to receive longer udp syslog messages:

The max received size of older in_syslog is 2048. This doesn't work with longer log line. We added message_length_limit parameter to change the received size for longer logs.


Lastly, v0.12.27 docker image has also been available on Docker Hub.


Happy logging!

Subscribed to the RSS feed here.

Written by Masahiro Nakagawa

Masahiro (@repeatedly) is the main maintainer of Fluentd. He works on Fluentd development and support full-time. He is also a committer of the D programming language.