Home

Awesome

fluent-plugin-remote_syslog

Fluentd plugin for output to remote syslog serivce (e.g. Papertrail)

Requirements

fluent-plugin-remote_syslogfluentdruby
>= 1.0.0>= v0.14.0 or >= v1.0.0>= 2.1
< 1.0.0>= v0.12.0>= 1.9

Installation

$ fluent-gem install fluent-plugin-remote_syslog
$ td-agent-gem install fluent-plugin-remote_syslog

Usage

<match foo.bar>
  @type remote_syslog
  host example.com
  port 514
  severity debug
  program fluentd
  hostname ${tag[1]}

  <buffer tag>
  </buffer>

  <format>
    @type single_value
    message_key message
  </format>
</match>

Configuration

nametypeplaceholder supportdescription
hostnamestringsupportdeparture of log
hoststringsupportsyslog target host
portinteger (default: 514)syslog target port
host_with_portstringsupportparameter for <host>:<port> style
facilitystring (default: "user")supportsyslog facility
severitystring (default: "notice"supportsyslog severity
programstring (default: "fluentd"supportsyslog program name
protocolenum (udp, tcp) (default: udp)transfer protocol
tlsbool (default: false)use TLS (tcp only)
ca_filestringca_file path (tls mode only)
verify_modeintegerSSL verification mode (tls mode only)
packet_sizeinteger (default: 1024)size limitation for syslog packet
timeoutintegerTCP transfer timeout. if value is 0, wait forever
timeout_exceptionbool (default: false)if value is true, raise exception by transfer timeout
keep_alivebool (default: false)use TCP keep alive
keep_alive_idleintegerset TCP keep alive idle time
keep_alive_cntintegerset TCP keep alive probe count
keep_alive_intvlintegerset TCP keep alive probe interval

Common Configuration

Buffer Section

namedefault
flush_modeinterval
flush_interval5
flush_thread_interval0.5
flush_thread_burst_interval0.5

Format Section

namedefault
@typeltsv

License

Copyright (c) 2014-2017 Richard Lee.
Copyright (c) 2022 Daijiro Fukuda.

See LICENSE for details.