TCP
The plugin supports the following configuration parameters:
In order to receive JSON messages over TCP, you can run the plugin from the command line or through the configuration file:
By default the service will listen an all interfaces (0.0.0.0) through TCP port 5170, optionally you can change this directly, e.g:
In the example the JSON messages will only arrive through network interface under 192.168.3.2 address and TCP Port 9090.
Configuration File
Once Fluent Bit is running, you can send some messages using the netcat:
In we should see the following output:
To get faster data ingestion, consider to use the option Format none
to avoid JSON parsing if not needed.