Hi users!
We have released v1.1.3. ChangeLog is here. This release includes several enhancements and bug fixes.
We can use array index for tag placeholder. This is useful for accessing tag parts.
<match app.**>
@type foo
param value-${tag[1]} # if tag is 'app.foo.bar', ${tag[1]} is 'foo'
</source>
Since v1.1.3, you can also use negative array index for tag placeholder. The behaviour is same as ruby's negative array index.
<match app.**>
@type foo
param value-${tag[-1]} # if tag is 'app.foo.bar', ${tag[-1]} is 'bar'
</source>
queued_chunks_limit_size
to control the number of queued chunksThis new queued_chunks_limit_size
parameter mitigates lots of queued chunks issue with frequent enqueuing.
Sometimes users set smaller flush_interval
, e.g. 1s
, for log forwarding. This is no problem on healthy environment.
But if the destination is slower or unstable, output's flush fails and retry is started.
In such situation, lots of small queued chunks are generated in the buffer and it consumes lots of fd resources when you use file
buffer.
To avoid this problem, queued_chunks_limit_size
is useful. If you set queued_chunks_limit_size 5
,
staged chunks are not enqueued until the number of waiting enqueued chunks is less than 5
.
Note that this check is for interval based enqueuing for now. It means if your staged chunk reaches chunk_limit_size
,
its chunks is enqueued even if the number of waiting enqueued chunks is greater than queued_chunks_limit_size
.
time
Thanks for submitting bug reports and patches :)
Enjoy 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
2025-02-14: fluent-package v5.0.6 has been released
2025-01-29: Fluentd v1.16.7 has been released
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
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-2025 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.