什么是logstash的beats插件? [英] What is beats plugin for logstash?
问题描述
我看到logstash用于sql服务器和Elastic Search 5之间的同步数据。
I saw that logstash is used for sync data between a sql server and Elastic Search 5
在这个示例,显示Logstash可以使用jdbc插件从数据库导入数据
In this example , it is shown that Logstash can use jdbc plugin for importing data from a database
但是当我看看可用的插件时,我注意到一个名为 Beats ,
它看起来也可以用于导入数据
But when I look at the available plugins, I notice one plugin named Beats, it look like to also be used for importing data
我推荐missanderstood,所以有人acn解释一下,使用Beats的插件和hos是由logstash使用的吗?
I propapbly missanderstood , so is anybody acn explain me whatr the use of Beats plugin and hos is it used by logstash please?
推荐答案
Logstash目前有获得输入的52种方式。如您所见, jdbc 和两个节拍。每个输入都有不同的用例。如文档中所述,jdbc用于使用JDBC接口在任何数据库中获取数据,而beats用于从弹性节拍框架接收事件。
Logstash currently has 52 ways of getting input. As you've seen, jdbc and beats are two. Each of the inputs serves a different use case. As described in the doc, jdbc is used to "ingest data in any database with a JDBC interface" while beats is used to "receive events from the Elastic Beats framework".
根据您的需要,您可以选择适当的输入插件。
Depending on your needs, you would choose the appropriate input plugin.
这篇关于什么是logstash的beats插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!