This is a fork of the fluent-plugin-gelf-hs (https://github.com/hotschedules/fluent-plugin-gelf-hs), which is no longer maintained.
A Fluentd output plugin that sends logs to Graylog2.
Fluentd version 1.0 or higher.
Add the plugin to your fluentd agent:
fluent-gem install fluent-plugin-gelf-best
If you are using td-agent:
td-agent-gem install fluent-plugin-gelf-best
For more info, review Fluentd's official documentation.
<match **>
type gelf
host <remote GELF host>
port <remote GELF port>
protocol <tcp or udp (default)>
tls <true or false (default)>
tls_options <{} (default)> for options see https://github.com/graylog-labs/gelf-rb/blob/72916932b789f7a6768c3cdd6ab69a3c942dbcef/lib/gelf/transport/tcp_tls.rb#L7-L12
max_bytes <maximum message size (3200 default)>
[ fluent buffered output plugin configuration ]
</match>
<match **>
type file (any type that that takes a format argument)
format gelf
[ fluent file output plugin configuration ]
</match>
fluent-plugin-gelf-best is licensed under the Apache 2.0 License.
- Copyright(c) 2024 - Bartosz Michałkiewicz
- License
- Apache License, Version 2.0