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

  # ...

You can write the configuration below:

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

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.

About Fluentd

Fluentd is an open source data collector to unify log management.


Want to learn the basics of Fluentd? Check out these pages.

Ask the Community

Couldn't find enough information? Let's ask the community!

Ask the Experts

You need commercial-grade support from Fluentd committers and experts?

Follow Us!