Forward is the protocol used by Fluent Bit and Fluentd to route messages between peers. This plugin implements the input service to listen for Forward messages.
The plugin supports the following configuration parameters:
Listener network interface.
TCP port to listen for incoming connections.
Specify the path to unix socket to receive a Forward message. If set, Listen and Port are ignored.
Specify the maximum buffer memory size used to receive a Forward message. The value must be according to the Unit Size specification.
By default the buffer to store the incoming Forward messages, do not allocate the maximum memory allowed, instead it allocate memory when is required. The rounds of allocations are set by Buffer_Chunk_Size. The value must be according to the Unit Size specification.
Prefix incoming tag with the defined value.
In order to receive Forward messages, you can run the plugin from the command line or through the configuration file as shown in the following examples.
From the command line you can let Fluent Bit listen for Forward messages with the following options:
$ fluent-bit -i forward -o stdout
By default the service will listen an all interfaces (0.0.0.0) through TCP port 24224, optionally you can change this directly, e.g: