繁体   English   中英

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" }
}

我得到了答案,我正在使用1.5版,其中有一个bug :(

https://github.com/elastic/logstash/issues/2894

暂无
暂无

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

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