Service
The SERVICE defines the global behaviour of the Fluent Bit engine.
name | type | description |
---|---|---|
Buffer_Path | Str | Path to write buffered chunks if enabled |
Buffer_Workers | Int | Number of workers to operate on buffer chunks |
Config_Watch | Bool | If true, exit on change in config directory |
Daemon | Bool | If true go to background on start |
Flush | Int | Interval to flush output (seconds) |
Grace | Int | Wait time (seconds) on exit |
HTTP_Listen | Str | Address to listen (e.g. 0.0.0.0) |
HTTP_Port | Int | Port to listen (e.g. 8888) |
HTTP_Server | Bool | If true enable statistics HTTP server |
Log_File | Str | File to log diagnostic output |
Log_Level | Int | Diagnostic level (error/warning/info/debug/trace) |
Parsers_File | Str | Optional ‘parsers’ config file (can be multiple) |
Plugins_File | Str | Optional ‘plugins’ config file (can be multiple) |
The Parsers_File and Plugins_File are both relative to the directory the main config file is in.
Example
[SERVICE]
Flush 5
Daemon Off
Config_Watch On
Parsers_File parsers.conf
Parsers_File custom_parsers.conf
当前内容版权归 fluentbit.io 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 fluentbit.io .