[英]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.