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.
2023-05-08: td-agent v4.5.0 has been released
2023-04-20: Fluentd v1.16.1 has been released
2023-03-29: Fluentd v1.16.0 has been released
2022-11-11: Fluentd v1.15.3 has been released
2022-11-08: td-agent v4.4.2 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-2023 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.