Fluentd

The fluentd adapter is designed to deliver Istio log entries to a listening fluentd daemon.

This adapter supports the logentry template.

Params

Configuration parameters for the fluentd adapter.

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”.

FieldTypeDescription
addressstring

Address of listening fluentd daemon. Example: fluentd-server:24224 Default value is localhost:24224

integerDurationbool

Convert attributes of type duration to integers of unit ms in logs. Default behaviour is a string representation including unit.

instanceBufferSizeint64

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.

maxBatchSizeBytesint64

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).

pushIntervalDurationgoogle.protobuf.Duration

Duration interval for pushing batched data to the fluentd backend. At least once every duration, the handler will attempt to push data. Default to 1m.

pushTimeoutDurationgoogle.protobuf.Duration

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.