Hi users!
We have released Fluentd version 0.12.32. Here are the changes:
add_newline
parameter to remove \n
from the result
https://github.com/fluent/fluentd/pull/1447remove_keys
processing should be last
https://github.com/fluent/fluentd/pull/1433json
, ltsv
, csv
and hash
formatters now support add_newline
parameter. If you set add_newline false
, the formatted result doesn't contain \n
.
This is useful for Queue / KVS plugins.
v0.12.32 introduces emit_unmatched_lines
parameter to in_tail
plugin. This option enables you to get unparseable line as an event.
For example, if you have following configuration and file:
<source>
@type tail
path /path/to/json.log
format json
emit_unmatched_lines true
# ...
</source>
{"message":"Hello!"}
This is broken line!
{"message":"Yay :)"}
Then, the following events are generated from this tail
plugin.
{"message":"Hello!"}
{"unmatched_line":"This is broken line!"}
{" message":"Yay :)"}
Unmatched line is assigned to unmatched_line
field.
This option works with both single-line and multi-lines.
retry
fieldFluentd v0.14 adds retry
field to /api/plugins.json
response. The retry
field contains detailed information of buffer's retry. For API consistency, v0.12's in_monitor_agent
also provides same field. Here is retry
field example:
{
// other monitor_agent keys
"retry": {
"steps":1, // same as retry_count
"next_time":"2016-12-23 01:37:16 +0700"
}
}
Unlike v0.14, start
field doesn't exist because v0.12's buffer doesn't have its information.
We recommend to use retry
's steps
instead of retry_count
for monitoring.
Lastly, v0.12.32 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.