Logstash 无法推送日志到 ES
Logstash Unable to push logs to ES
我正在从 NXlog 服务器收集日志并将其发送到我的 Logstash 服务器{AWS 机器上的 ELK Stack}。它能够完美地将日志发送到 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,它有一个错误:(
我正在从 NXlog 服务器收集日志并将其发送到我的 Logstash 服务器{AWS 机器上的 ELK Stack}。它能够完美地将日志发送到 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,它有一个错误:(