简体   繁体   English

Logstash服务器可以从RestURL读取数据

[英]can logstash server read data from resturl

I want to read data from resturl and feed that in logstash server. 我想从resturl读取数据并将其提供给logstash服务器。 i did google and found [a link] https://github.com/logstash-plugins/logstash-input-http_poller 我做了谷歌,发现[链接] https://github.com/logstash-plugins/logstash-input-http_poller

Logstash version - logstash-1.4.5-1_a2bacae.noarch plugin- https://github.com/logstash-plugins/logstash-input-http_poller Logstash版本-logstash-1.4.5-1_a2bacae.noarch插件-https ://github.com/logstash-plugins/logstash-input-http_poller

I tried it with my ELK setup but its is not working for me. 我用ELK设置尝试了它,但对我来说不起作用。 while installing plugin (step 2.2) bin/plugin install /home/elk/logstash-input-http_poller/logstash-input-http_poller-2.0.3.gem it returned me 在安装插件(步骤2.2)时, bin/plugin install /home/elk/logstash-input-http_poller/logstash-input-http_poller-2.0.3.gem它返回了我

Can only install contrib at this time... Exiting. 目前只能安装contrib ...正在退出。

When I start investigating my "plugin" script that i got from logstash rpm is very specific about $2 argument that can only be "contrib" if $2 is not "contrib" script will exit right away. 当我开始调查从logstash rpm获得的“插件”脚本时,它非常具体地介绍了$ 2参数,如果$ 2不是“ contrib”脚本,那么该参数只能是“ contrib”,该脚本将立即退出。 So as per tutorial instruction section 2.2 passing your plugin gem file will always fail. 因此,按照教程说明第2.2节,传递插件gem文件始终会失败。

Can some one help me in this, i do'nt know what i'm missing to run it. 有人可以帮我吗,我不知道我缺少运行它的东西。

They split all the plugins into different ruby gems in version 1.5. 他们在1.5版中将所有插件拆分为不同的ruby gem。 You can see that reflected in the source to bin/plugin. 您可以看到它反映在bin / plugin 的源代码中。

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

相关问题 如何使用Hibernate从两个不同的数据库(DB2和Oracle)读取数据并将其持久化到另一个DB(SQL Server)中? - How can I read data from two different Databases (DB2 and Oracle) and Persist it into another DB (SQL Server) using Hibernate? 如何在Rest Server上读取从Ajax发送的数据 - How to read the data that's sent from ajax on rest server 在Java HttpsURLConnection POST中,我无法读取服务器的响应 - In a Java HttpsURLConnection POST, I can't read the response from the server 如何从StreamingOutput读取数据 - How to read data from StreamingOutput 无法从BackBone中的REST调用中获取数据:未捕获的TypeError:无法读取未定义的属性'length' - Can't Fetch Data from REST call in BackBone: Uncaught TypeError: Cannot read property 'length' of undefined 无法在 React 中从我的 API 服务器获取数据 - Can't fetch data from my API server in React 通过URL发布和读取数据的位置(位置) - From where(location) data posted and read by URL 如果从REST读取,则将hazelcast数据作为json返回 - Return hazelcast data as json if read from REST Javascript通过状态更新从REST服务器读取JSON - Javascript read JSON from REST server with status updates 服务器未读取HttpClient POST数据到RESTful API数据 - HttpClient POST data to RESTful API data not being read by the server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM