Logstash无法将日志推送到ES(Logstash Unable to push logs to ES)
我从NXlog服务器收集日志并将其发送到我的Logstash服务器{AWS机器上的ELK堆栈}。 它能够完美地将日志发送到ES,但之后只是将日志发送到ES,并出现以下错误:
{:timestamp=>"2015-10-13T06:41:25.526000+0000", :message=>"Got error to send bulk of actions: localhost:9200 failed to respond", :level=>:error} {:timestamp=>"2015-10-13T06:41:25.531000+0000", :message=>"Failed to flush outgoing items", {:timestamp=>"2015-10-13T06:41:26.538000+0000", :message=>"Got error to send bulk of actions: Connection refused", :level=>:error}这是安全组问题吗? 或者是其他东西?
此外,我的logstash输出文件如下所示:
output { stdout { } elasticsearch { host => "localhost" protocol => "http" port => "9200" } }I am collecting logs from a NXlog server & sending it to my Logstash server{ELK Stack on a AWS machine}. It was able to send the logs to ES perfectly but then it just stooped sending logs to ES with the following errors:
{:timestamp=>"2015-10-13T06:41:25.526000+0000", :message=>"Got error to send bulk of actions: localhost:9200 failed to respond", :level=>:error} {:timestamp=>"2015-10-13T06:41:25.531000+0000", :message=>"Failed to flush outgoing items", {:timestamp=>"2015-10-13T06:41:26.538000+0000", :message=>"Got error to send bulk of actions: Connection refused", :level=>:error}Is this a security group issue? or something else?
Moreover my logstash-output file looks like :
output { stdout { } elasticsearch { host => "localhost" protocol => "http" port => "9200" } }最满意答案
我得到了这个答案,我有版本1.5,它有一个错误:(
https://github.com/elastic/logstash/issues/2894
I got the answer to this , i am having version 1.5 , which has a bug :(
https://github.com/elastic/logstash/issues/2894
更多推荐
发布评论