TCP & TLS - Fluent Bit

Description

The tcp output plugin allows to send records to a remote TCP server. The payload can be formatted in different ways as required.. See fluent bit page for more information.

Parameters

ParameterDescriptionTypeDefault
hostTarget host where Fluent-Bit or Fluentd are listening for Forward messages.str"127.0.0.1"
portTCP Port of the target service.int(>0 <65536)5170
formatSpecify the data format to be printed. Supported formats are msgpack json, json_lines and json_stream.str"msgpack"
json_date_keySpecify the name of the time key in the output record. To disable the time key just set the value to false.str"date"
json_date_formatSpecify the format of the date. Supported formats are double, epoch, iso8601 (eg: 2018-05-30T09:39:52.000681Z) and java_sql_timestamp (eg: 2018-05-30 09:39:52.000681)str"double"
workersEnables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0.int2
tls.activeEnable or disable TLS support.boolfalse
tls.verifyForce certificate validation.booltrue
tls.debugSet TLS debug verbosity level. It accept the following values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational) and 4 Verbose.int(>=0 <=4)1
tls.ca_fileAbsolute path to CA certificate file.strN/A (Optional)
tls.crt_fileAbsolute path to Certificate file.strN/A (Optional)
tls.key_fileAbsolute path to private Key file.strN/A (Optional)
tls.key_passwdOptional password for tls.key_file file.strN/A (Optional)

Node configuration

...
flb_tcp:
  plugin: "dc_destinations/FlbTCP"
  inputs: ["/dc/measurement/uptime"]
  host: "127.0.0.1"
  port: 5170
...