1
我正在从NXlog服务器收集日志&将其发送到我的Logstash服务器{AWS上的ELK堆栈}。它能够将日志发送给ES完美,但随后它只是弯下腰发送日志有以下错误ES:Logstash无法将日志推送到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" }
}
什么是输出ES健康检查curl --user admin:password -XGET'http:// localhost:9200/_cluster/health?pretty = true'' should be work – ydaetskcoR