Fluentd plugin for output to remote syslog serivce (e.g. Papertrail)
This repo was forked from https://github.com/dlackty/fluent-plugin-remote_syslog
fluent-gem install fluent-plugin-kubernetes_remote_syslog
<match foo>
type kubernetes_remote_syslog
host example.com
port 514
severity debug
tag fluentd
</match>
UDP logs are limited to 1024 bytes which can truncate your logs. If you need to log larger entries then switch to TCP logging and increase the packet size.
<match foo>
type kubernetes_remote_syslog
host example.com
protocol tcp
port 514
severity debug
tag fluentd
packet_size 65535
</match>
This plugin makes use of Fluent::Mixin::PlainTextFormatter and Fluent::Mixin::RewriteTagName, please check out their documentations for more configuration options.
Copyright (c) 2014-2015 Richard Lee, George Goh. See LICENSE for details.