kmcgrath / fluent-bit-go

Fluent Bit Golang package to build plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluent Bit Go!

This repository contains Go packages that allows to create Fluent Bit plugins. At the moment it only supports the creation of Output plugins.

Requirements

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

Usage

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

Contact

Feel free to join us on our Slack channel, Mailing List, IRC or Twitter:

Authors

Fluent Bit Go is made and sponsored by Treasure Data among other contributors.

About

Fluent Bit Golang package to build plugins


Languages

Language:Go 63.3%Language:C 36.7%