This repository contains Go packages that allows to create Fluent Bit plugins. At the moment it only supports the creation of Output plugins.
The code of this package is intended to be used with Fluent Bit 0.12 branch.
Fluent Bit on GIT master (0.12) uses a different format to set records timestamps, this package is not backward compatible with Fluent Bit 0.11
Fluent Bit Go packages are exposed on this repository:
github.com/fluent/fluent-bit-go
When creating a Fluent Bit Output plugin, the output package can be used as follows:
import "github.com/fluent/fluent-bit-go/output"
for a more practical example please refer to the out_gstdout plugin implementation located at:
https://github.com/fluent/fluent-bit-go/blob/api-0.12/examples/out_gstdout/out_gstdout.go
Feel free to join us on our Slack channel, Mailing List, IRC or Twitter:
- Slack: http://slack.fluentd.org (#fluent-bit channel)
- Mailing List: https://groups.google.com/forum/#!forum/fluent-bit
- IRC: irc.freenode.net #fluent-bit
- Twitter: http://twitter.com/fluentbit
Fluent Bit Go is made and sponsored by Treasure Data among other contributors.