Hi users!
We have released Fluentd version 0.12.33. Here are the changes:
source_address_key
and fix source_hostname_key
parameters
https://github.com/fluent/fluentd/pull/1490limit_recently_modified
parameter to limit watching files
https://github.com/fluent/fluentd/pull/1474Fluent::Log#<<
to support some SDKs
https://github.com/fluent/fluentd/pull/1478**/*
in path
https://github.com/fluent/fluentd/pull/1464parser_syslog
now supports RFC5424 format. Here is the result of RFC5424 format message:
# Incoming message
<16>1 2017-02-06T13:14:15.003Z 192.168.0.1 fluentd 11111 ID24224 [exampleSDID@20224 iut="3" eventSource="Application" eventID="11211"] Hi, from Fluentd!
# Parsed result
{"pri" => 16, "host" => "192.168.0.1", "ident" => "fluentd", "pid" => "11111", "msgid" => "ID24224", "extradata" => "[exampleSDID@20224 iut=\"3\" eventSource=\"Application\" eventID=\"11211\"]", "message" => "Hi, from Fluentd!"}
By default, parser_syslog
assumes incoming message is RFC3614 format. You can parse RFC5424 format by setting message_format rfc5424
in parser configuration.
In addition, you can use message_format auto
to handle two message formats in one stream. parser_syslog
detects message format automatically and parse it.
Of course, you can use this feature in in_syslog
because in_syslog
uses parser_syslog
internally.
<source>
@type syslog
@id in_syslog
message_format rfc5424
tag system.syslog
</source>
We added limit_recently_modified
parameter. This is useful when use *
in the path.
If target files are not updated within limit_recently_modified
, such files are ignored from watching list.
Another one is adding skip_refresh_on_startup
parameter. By default, in_tail
reads file content during startup when you set read_from_head true
or after restarted.
The problem is this is done by main thread, so it blocks other startup routines.
This is no problem when unread lines are small. But it is huge, consuming lines takes long time.
skip_refresh_on_startup
parameter delays the watching list update so useful for above case.
Lastly, v0.12.33 docker image has also been available on Docker Hub.
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.
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
2023-08-29: Drop schedule announcement about EOL of Treasure Agent (td-agent) 4
2023-08-29: Scheduled support lifecycle announcement about Fluent Package
2023-07-31: Upgrade to fluent-package v5
2024-12-14: fluent-package v5.2.0 has been released
2024-11-29: Fluentd v1.18.0 has been released
2024-11-08: fluent-package v5.0.5 has been released
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
2024-08-20: Fluentd v1.16.6 has been released
2024-08-19: Fluentd v1.17.1 has been released
2024-08-02: fluent-package v5.1.0 has been released
2024-07-02: fluent-package v5.0.4 has been released
2024-04-30: Fluentd v1.17.0 has been released
2024-03-29: fluent-package v5.0.3 has been released
Want to learn the basics of Fluentd? Check out these pages.
Couldn't find enough information? Let's ask the community!
You need commercial-grade support from Fluentd committers and experts?
©2010-2024 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.