fluentd
The fluentd driver configuration is a map.
It sends logs to Fluentd or Fluent Bit by using the Forward Protocol.
The Fluentd event tag is vey-proxy.Task, vey-proxy.Escape, or
vey-proxy.Resolve depending on the log type.
The keys are described below.
Example:
fluentd:
address: 127.0.0.1:24224
shared_key: edge-cluster
tls_client: true
connect_timeout: 5s
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 before connecting.
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 to report to the Fluentd server.
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
Enables TLS and configures it.
default: not set
Changed in version 1.7.35: switch to use rustls
Changed in version 1.11.1: switch to use OpenSSL
tls_name
optional, type: tls name
TLS server name used to verify the peer certificate.
default: not set
Added in version 1.7.35.
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 connection failure. Messages received during this delay are dropped.
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 Fluentd connection.
default: 100ms
retry_queue_len
optional, type: usize
Maximum number of events queued for retry after connection or write failures. Messages that fail due to write timeout are dropped immediately.
default: 10