Fluentd · AsyncAPI Specification
Fluentd Forward Protocol
Version 1.0.0
The Fluentd Forward Protocol is a binary MessagePack-based protocol used to transport event streams between Fluentd nodes, Fluent Bit agents, and compatible forwarders over TCP or TLS. It supports multiple transport modes including Message, Forward, PackedForward, and CompressedPackedForward, as well as optional SASL-style authentication and heartbeat mechanisms for connection health checking.
Channels
/forward
Forward one or more log events to a Fluentd aggregator
The Forward Protocol channel transports Fluentd event streams from upstream forwarders or agents to a downstream Fluentd aggregator. Messages are serialized as MessagePack arrays and sent over a persistent TCP connection.
/heartbeat
Send a heartbeat packet
UDP heartbeat channel used for keepalive and connection health checking between a forwarder and its upstream aggregator.
Messages
MessageMode
Message Mode Event
A single log event with tag, timestamp, and record
ForwardMode
Forward Mode Event
A batch of log events sharing a single tag
PackedForwardMode
Packed Forward Mode Event
A batch of pre-serialized log events as a raw MessagePack byte stream
CompressedPackedForwardMode
Compressed Packed Forward Mode Event
A gzip-compressed packed forward batch
Heartbeat
Heartbeat Packet
A UDP keepalive packet
Servers
tcp
fluentd
tcp://localhost:24224
Default Fluentd forward input listener. TLS variants use the same port with a TLS-wrapped connection when tls_enable is set to true in the in_forward plugin configuration.