<system>
section and command-line options.workers
root_dir
log_level
trace
, debug
, info
, warn
, error
, or fatal
.suppress_repeated_stacktrace
emit_error_log_interval
ignore_repeated_log_interval
ignore_same_log_interval
suppress_config_dump
log_event_verbose
without_source
rpc_endpoint
enable_get_dump
process_name
enable_msgpack_time_support
Time
object in buffer's MessagePack serde. This is useful when the log contains multiple time fields.file_permission
dir_permission
strict_config_value
0
or true
implicitly.disable_shared_socket
true
. When it's disabled, you may not use plugins that listen a port such as in_forward, in_http and in_syslog.<log>
sectionformat
text
or json
.time_format
%Y-%m-%d %H:%M:%S %z
rotate_age
daily
, weekly
, monthly
or integer which indicates age of log rotation.rotate_size
enable_input_metrics
enable_size_metrics
Fluent::SystemConfig::Mixin
Methods.system_config
Fluent::SystemConfig
instance..system_config_override(options = {})
-s
, --setup [DIR=/etc/fluent]
: Installs sample configuration file to the directory.-c
, --config PATH
: Specifies the configuration file path. (Default: /etc/fluent/fluent.conf
)--dry-run
: Verifies the fluentd setup without launching.--show-plugin-config=PLUGIN
(obsolete): Use fluent-plugin-config-format
command instead.-p
, --plugin DIR
: Specifies the plugins' directory.-I PATH
: Specifies the library path.-r NAME
: Loads the library.-d
, --daemon PIDFILE
: Daemonizes the fluentd process.--under-supervisor
: Runs the fluent worker under supervisor (this option is NOT for users).--no-supervisor
: Runs the fluent worker without supervisor.--workers NUM
: Specifies the number of workers under supervisor.--user USER
: Changes user.--group GROUP
: Changes group.--umask UMASK
: Specifies umask to use, in octal form. Defaults to 0.-o
, --log PATH
: Specifies the log file path.--log-rotate-age AGE
: Specifies the generations to keep rotated log files.--log-rotate-size BYTES
: Sets the byte size to rotate log files.--log-event-verbose
: Enables the events logging during startup/shutdown.-i CONFIG_STRING
, --inline-config CONFIG_STRING
: Specifies the inlined configuration which is appended to the config file on-the-fly.--emit-error-log-interval SECONDS
: Suppresses the interval (seconds) to emit error logs.--suppress-repeated-stacktrace [VALUE]
: Suppress the repeated stacktrace.--without-source
: Invokes fluentd without input plugins.--use-v1-config
: Uses v1 configuration format (default).--use-v0-config
: Uses v0 configuration format.--strict-config-value
: Parses the configuration values strictly. Invalid numerical or boolean values are rejected. Fluentd raises configuration error exceptions instead of replacing them with 0
or true
implicitly.-v
, --verbose
: Increases the verbosity level (-v
: debug, -vv
: trace).-q
, --quiet
: Decreases the verbosity level (-q
: warn, -qq
: error).--suppress-config-dump
: Suppresses the configuration dumping on start.-g
, --gemfile GEMFILE
: Specifies the Gemfile path.-G
, --gem-path GEM_INSTALL_PATH
: Specifies the Gemfile install path. (Default: $(dirname $gemfile)/vendor/bundle
)