Golang 输出插件
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, 以后台方式运行 Fluent Bit
-f, --flush=SECONDS flush timeout in seconds (default: 5), 刷新数据到输出的超时时间(默认 5 秒)
-i, --input=INPUT set an input, 设置输入
-m, --match=MATCH set plugin match, same as '-p match=abc', 设置插件匹配的标签模式,与 '-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
Last updated