Logstash无法将日志推送到ES(Logstash Unable to push logs to ES)

编程入门 行业动态 更新时间:2024-10-13 16:20:58
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

更多推荐

本文发布于:2023-07-30 16:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1338865.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日志   ES   Logstash   logs   push

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!