Service
The SERVICE defines the global behaviour of the Fluent Bit engine.
name | type | description |
---|---|---|
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 | Str | 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) |
Note that Parsers_File and Plugins_File are both relative to the directory the main config file is in.
Storage and Buffering Configuration
In addition to the properties listed in the table above, the Storage and Buffering options are extensively documented in the following section:
Configuration Example
[SERVICE]
Flush 1
Daemon Off
Config_Watch On
Parsers_File parsers.conf
Parsers_File custom_parsers.conf
当前内容版权归 fluentbit.io 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 fluentbit.io .