Hi users!
We have just released Fluentd version 0.10.56. Here are the changes:
Fluent::Config::Section#object_id
to avoid NoMethodError
by object dump tools: #460SetTagKeyMixin
and SetTimeKeyMixin
which ignores config_set_default
since 0.10.53: #462timezone
' configuration parameter (e.g. "+09:00" for JST): #430plugin_id
instead of object_id
in log message for consistency with in_monitor_agent
: #459This release fixes some bugs and adds timezone
support.
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
</match>
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.
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.
Fluentd is an open source data collector to unify log management.
Want to learn the basics of Fluentd? Check out these pages.
2018-04-05: Fluentd v1.1.3 has been released
2018-03-06: Fluentd v1.1.1 has been released
2018-01-18: Fluentd v1.1.0 has been released
2017-12-17: Fluentd v1.0.2 has been released
2017-12-10: Fluentd v1.0
©2010-2018 Fluentd Project. ALL Rights Reserved.
Fluentd is a hosted project under the Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.