Preparing to send data to Fluentd
If you use a Fluentd receiver for target destinations, you must install and configure Fluentd on your own. This procedure summarizes how to configure Fluentd TCP input plug-in in this situation.
Before you begin
- For CSV format, the header information and data are both sent to Fluentd.
- For Key-Value format, the header information and the data are put in Key-Value pairs and sent to Fluentd.
About this task
On the distributed Fluentd system where you want to send z/OS® operational data, you must configure the TCP input plug-in to specify the port on which Fluentd listens for data from the Data Streamer.
To configure the TCP input plug-in which enables Fluentd to accept TCP payload, specify the
following source directive in the Fluentd configuration:
For more information, refer to the Input plugins article that describes the basic concepts of Fluentd configuration file syntax.
<source> @type tcp tag tcp.events # required <parse> @type json </parse> port fluentd_port # optional. 5170 by default. bind fluentd_host # optional. 0.0.0.0 by default. </source>
- If you want to configure a secure data connection for streaming operational data from Z Common Data Provider to Fluentd, see the Fluentd documentation for more information about how to set up Transport Layer Security for the TCP input plug-in.
- Configure the output plug-in as appropriate for your environment.