fluentd
The fluentd driver configuration is a map.
It sends logs to Fluentd or Fluent Bit using the Forward Protocol.
The Fluentd event tag for these logs is vey-keyless.Task.
The keys are described below.
address
optional, type: env sockaddr str
TCP address of the Fluentd server.
default: 127.0.0.1:24224
bind_ip
optional, type: ip addr str
Local IP address to bind for the client socket.
default: not set
username
optional, type: str
Username used when authorization is required.
This will only be used if authorization is required by the server.
default: not set
password
optional, type: str
Password used when authorization is required.
This will only be used if authorization is required by the server.
default: not set
hostname
optional, type: str
Custom hostname.
default: local hostname
tcp_keepalive
optional, type: tcp keepalive
TCP keepalive configuration for the connection to the Fluentd server.
default: enabled with system default values
tls_client
optional, type: openssl tls client config
Enable TLS and set the client configuration.
default: not set
tls_name
optional, type: tls name
TLS server name used to verify the peer certificate.
default: not set
connect_timeout
optional, type: humanize duration
Timeout for establishing the Fluentd connection, including TCP connect, TLS handshake, and Fluentd handshake.
default: 10s
connect_delay
optional, type: humanize duration
Delay before retrying after a failed connection attempt. Incoming messages are dropped during that interval.
default: 10s
write_timeout
optional, type: humanize duration
Write timeout for each message. Timed-out messages are dropped.
default: 1s
flush_interval
optional, type: humanize duration
Flush interval for the connection to the Fluentd server.
default: 100ms
retry_queue_len
optional, type: usize
Maximum number of events queued for retry after connection or write failures. Events that hit the write timeout are dropped immediately.
default: 10