Fluentd SSL / TLS安全TCP输出插件到通用接收器(Logstash)? [英] Fluentd SSL/TLS secured TCP output plugin to generic receiver (Logstash)?

查看:482
本文介绍了Fluentd SSL / TLS安全TCP输出插件到通用接收器(Logstash)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找tcp的fluentd输出插件的一段时间,这也是ssl安全的,不会强迫我的接收器来自特定的类型。
在我的例子中,我的接收器是logstash。



下面是一些接近的插件(关闭但没有雪茄):



转发输出 - 不支持ssl连接。



安全转发输出



一些是https插件,一些是特定的服务插件(需要某种令牌/用户/密码)。

有没有其他插件可以使用?也许有一些解决方法?

解决方案

在花了几天的时间寻找一个现有的插件后,我们决定没有,我们会写它是我们的自我!

流利插件 - 织机系统

a>
用于安全TCP转发的fluentd输出插件:)

要将插件添加到您的fluentd代理,请使用以下命令:

  gem install fluent-plugin-loomsystems 

要匹配事件并将发送给您想要的任何地方,只需将以下代码添加到您的fluentd配置文件中即可。 $ p> < match **>
@type loomsystems
host< your-beloved-host>
< / match>

重启Fluentd后,所有flunetd事件都会发送到您的主机。



该插件默认打开ssl连接,但可以配置为以非安全的tcp模式发送。

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

我们欢迎您明星,建议和贡献插件,尽情享受:)


I've been looking for a while for fluentd output plugin for tcp which is also ssl secured that doesn't force my receiver to be from a specific kind. In my case, my receiver is logstash.

Here are a few of the plugins which came close (close but no cigar):

Forward Output - not supporting ssl connection.

Secure Forward Output - sends data only to another fluentd receiver.

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

Is there any other plugin i can use? maybe with some workaround?

解决方案

After spending days on searching for an existing plugin, we decided that there is none and we shall write it our self!

fluent-plugin-loomsystems A fluentd output plugin for secured TCP forwarding :)

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

gem install fluent-plugin-loomsystems

To match events and send them anywhere you'd like, simply add the following code to your fluentd configuration file.

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

After a restart of Fluentd, all flunetd events will be sent to your host.

The plugin open ssl connection by default but can be configured to send on a non secured tcp mode.

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

We welcome you to star, suggest, and contribute the plugin, enjoy :)

这篇关于Fluentd SSL / TLS安全TCP输出插件到通用接收器(Logstash)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆