Fluentd v1.5.0 has been released

Hi users!

We have released v1.5.0. ChangeLog is here. This release includes nice features and improvements.

out_forward: Support keepalive feature

<source>
  @type tail
  # ... other parameters
</source>

<match pattern>
  @type forward
  # ... other parameters
  keepalive true
  keepalive_timeout 60s # optional. Default is no timeout
</match>

forward output plugin now supports keepalive/keepalive_timeout parameters. This feature is useful to reduce the connection cost per flush. In addition, this feature is also good for load balancer situation.

in_http/in_syslog: Support TLS transport

These plugins now support <transport tls> configuration. Here is syslog input / rsyslog config example for TLS:

# fluentd
<source>
  @type syslog
  port 5140
  bind 0.0.0.0
  <transport tls>
    ca_path /etc/pki/ca.pem
    cert_path /etc/pki/cert.pem
    private_key_path /etc/pki/key.pem
    private_key_passphrase PASSPHRASE
  </transport>
  tag system
</source>

# rsyslog
$DefaultNetstreamDriverCAFile /etc/pki/ca.pem
$DefaultNetstreamDriver gtls
$ActionSendStreamDriverMode 1
$ActionSendStreamDriverAuthMode anon
*.* @@127.0.0.1:5140

http input supports same parameters with <transport tls>.

in_forward: Add tag/add_tag_prefix parameters

You can change incoming event tag in forward input without additional plugins.

<source>
  @type forward
  port 24230
  tag system1.log # change tag to system1.log
</source>

<source>
  @type forward
  port 24240
  add_tag_prefix system2 # add prefix to incoming tag, e.g. system2.app.log
</source>

For event routing, we can use label feature but it can't modify event tag. These parameters are useful when you want to organize incoming tag in the aggregator.

Major bug fixes

  • out_forward: Don't use SO_LINGER on SSL/TLS WinSock.
  • server: Fix recursive lock issue in TLSServer

Enjoy logging!

Subscribed to the RSS feed here.

Written by Masahiro Nakagawa

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.