我正在从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" }
}