简体   繁体   English

syslog-ng添加用于弹性搜索的插件

[英]syslog-ng add plugin for elastic search

I have already installed syslog-ng. 我已经安装了syslog-ng。 Now I want to write data directly to elastic search not using logstash. 现在,我想不使用logstash直接将数据写入弹性搜索。

There as an add-on in syslog-ng for elastic search but I couldn't figure out how to install it. syslog-ng中有一个用于弹性搜索的附加组件,但我不知道如何安装它。 Please let me know, if anybody has did this before or has any idea about it. 如果有人以前做过或对此有任何想法,请告诉我。

Thanks 谢谢

There is a simple python based script which can be used using the program destination: https://github.com/balabit/syslog-ng-incubator/tree/master/scl/elasticsearch 有一个简单的基于python的脚本可以在程序目标位置使用: https : //github.com/balabit/syslog-ng-incubator/tree/master/scl/elasticsearch

If you don't mind using experimental software, there is a lot more high performance solution, compatible with Kibana, which needs the Java destination (available in syslog-ng incubator for 3.6 or 3.7 beta): https://github.com/juhaszviktor/ESDestination 如果您不介意使用实验性软件,那么还有更多与Kibana兼容的高性能解决方案,该解决方案需要Java目标(在syslog-ng孵化器中提供3.6或3.7 beta版): https : //github.com/ juhaszviktor / ESDestination

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM