Golang Output Plugins
Getting Started
$ cd build/
$ cmake -DFLB_DEBUG=On -DFLB_PROXY_GO=On ../
$ make$ bin/fluent-bit -h
Usage: fluent-bit [OPTION]
Available Options
-c --config=FILE specify an optional configuration file
-d, --daemon run Fluent Bit in background mode
-f, --flush=SECONDS flush timeout in seconds (default: 5)
-i, --input=INPUT set an input
-m, --match=MATCH set plugin match, same as '-p match=abc'
-o, --output=OUTPUT set an output
-p, --prop="A=B" set plugin configuration property
-e, --plugin=FILE load an external plugin (shared lib)
...Build a Go Plugin
Run Fluent Bit with the new plugin
Configuration file
Plugins configuration file
Key
Description
Default Value
Example
Main configuration file
Key
Description
Default Value
Example
Config key constraint
Run using a configuration file
Last updated
Was this helpful?