fluent-plugin-remote-syslog-cg
fluentd plugin for streaming logs out to a remote syslog server or syslog SaaS service (like Papertrail)
Available Plugins:
- out_syslog: registers itself as "syslog-cg", and is the non-buffered implementation, communicating through UDP
- out_syslog_buffered: registers itself as "syslog_buffered-cg", and is the buffered implementation, communicating through TCP
Plugin Settings:
Both plugins have the same configuration options:
- remote_syslog: fqdn or ip of the remote syslog instance
- port: the port, where the remote syslog instance is listening
- hostname: hostname to be set for syslog messages
- remove_tag_prefix: remove tag prefix for tag placeholder.
- tag_key: use the field specified in tag_key from record to set the syslog key
- facility: Syslog log facility
- severity: Syslog log severity
- use_record: Use severity and facility from record if available
- payload_key: Use the field specified in payload_key from record to set payload
- max_size: the max size of message to send defaults to 4096
Configuration example:
<match site.*>
type syslog_buffered-cg
remote_syslog your.syslog.host
port 25
hostname ${hostname}
facility local0
severity debug
</match>
Contributors:
- CompareGroup
- Andrea Spoldi
- deathowl