Fluentd SSL / TLS secure TCP output plugin for shared receiver (Logstash)?

I was looking for some time for the fluentd output plugin for tcp, which is also protected by ssl, which does not cause my receiver to be of a specific type. In my case, my receiver is logstash.

Here are a few plugins that come close (close, but without a cigar):

Forward Output - does not support ssl connection.

Secure Forward Output - Sends data only to another receiver.

Some of them were https plugins, and some of them were specific service plugins (which required a token / user / password).

Is there any other plugin that I can use? perhaps with some workaround?

0
source share
2 answers

Having spent several days searching for an existing plugin, I decided that it was not there, and I would write it myself!

fluent-plugin-loomsystems fluentd output plugin for secure TCP forwarding :)

To add the plugin to your fluentd agent, use the following command:

gem install fluent-plugin-loomsystems 

To map events and send them anywhere , simply add the following code to your Fluentd configuration file.

 <match **> @type loomsystems host <your-beloved-host> </match> 

After restarting Fluentd, all flunetd events will be sent to your host.

The plugin opens a new default ssl connection, but it can be configured to send in tcp in insecure mode.

 <match tag-life.**> @type loomsystems host <your-beloved-host> use_ssl false </match> 

I welcome you to tag, suggest and add a plugin, enjoy :)

+3
source

@dorony : I tried to use it, but could not get it to work. I run openshift-3.6.0 locally on docker containers. I added below configuration in fluentd.conf:

 <match **> @type loomsystems host 172.17.0.1 port 4000 use_ssl false </match> 

And below the configuration in my logstash input.conf. However, I cannot get any logs in logstash. There is not even a connection. I am not mistaken in fluentd magazines.

 input { tcp { codec => fluent port => 4000 } } 
+1
source

All Articles