Fluentd v0.10.56 is released

Hi users!

We have just released Fluentd version 0.10.56. Here are the changes:

  • config: Add Fluent::Config::Section#object_id to avoid NoMethodError by object dump tools: #460
  • mixin: Fix SetTagKeyMixin and SetTimeKeyMixin which ignores config_set_default since 0.10.53: #462
  • input/output: Support 'timezone' configuration parameter (e.g. "+09:00" for JST): #430
  • log: Use plugin_id instead of object_id in log message for consistency with in_monitor_agent: #459

This release fixes some bugs and adds timezone support.

timezone parameter

Since v0.10.56, Fluentd provides timezone parameter to specify arbitary timezone, not only utc or localtime. Support formats are offset +09:00 or long name Asia/Tokyo. Short name like JST is not supported.

<match pattern>
  type file
  path /var/log/fluent/myapp
  time_slice_format %Y%m%d
  time_slice_wait 10m
  time_format %Y%m%dT%H%M%S%z
  timezone +08:00

This is a configuration example. You can use timzeone parameter in time related plugins, e.g. file, formatter and etc. For example, you can see following content in the file.

2014-10-30T19:00:00+08:00       test.foo        {"message":"Hi!"}

We will add timezone document to plugin articles later.

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.

comments powered by Disqus

About Fluentd

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


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

Follow Us!