This adapter accepts logentry instance. It then routes
those logentries to a listening fluentd daemon with minimal
transformation. Fluentd uses a “tag” for all logs. The “Name” of
the logentry is used as the “tag”, unless the logentry already has
a variable “tag”.
Field
Type
Description
Required
address
string
Address of listening fluentd daemon. Example: fluentd-server:24224
Default value is localhost:24224
No
integerDuration
bool
Convert attributes of type duration to integers of unit ms in
logs. Default behaviour is a string representation including
unit.
No
instanceBufferSize
int64
Controls the size of the queue of log entries awaiting processing by the
data push goroutine. This impacts the overall size of the backlog of
log entries that the handler will accept. If the handler falls behind and
the number of outstanding instances exceeds this limit, the handler will
begin to drop log entries.
Defaults to 1024.
No
maxBatchSizeBytes
int64
Controls the number of data bytes that are encoded and buffered by the handler before
they are pushed to the fluentd backend. This impacts the size and frequency of requests
sent to the fluentd backend. Once the buffer exceeds this limit, the handler will attempt to push
data to the backend.
Defaults to 8,388,608 (8 MiB).
Timeout duration for pushing batched data to the fluentd backend. If a request takes longer than
the configured timeout, the request will be cancelled and dropped.
Default to 1m.