logstash start错误

发布于 2021-11-28 03:47:09 字数 2152 浏览 668 评论 1

报错信息如下:

 Faraday::ConnectionFailed: Connection refused - Connection refused
              call at /opt/logstash/vendor/bundle/jruby/1.9/gems/faraday-0.9.0/lib/faraday/adapter/net_http.rb:44
    build_response at /opt/logstash/vendor/bundle/jruby/1.9/gems/faraday-0.9.0/lib/faraday/rack_builder.rb:139
       run_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/faraday-0.9.0/lib/faraday/connection.rb:377
   perform_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.1/lib/elasticsearch/transport/transport/http/faraday.rb:24
              call at org/jruby/RubyProc.java:271
   perform_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.1/lib/elasticsearch/transport/transport/base.rb:187
   perform_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.1/lib/elasticsearch/transport/transport/http/faraday.rb:20
   perform_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.1/lib/elasticsearch/transport/client.rb:102
   perform_request at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-api-1.0.1/lib/elasticsearch/api/namespace/common.rb:21
      get_template at /opt/logstash/vendor/bundle/jruby/1.9/gems/elasticsearch-api-1.0.1/lib/elasticsearch/api/actions/indices/get_template.rb:24
  template_exists? at /opt/logstash/lib/logstash/outputs/elasticsearch/protocol.rb:132
  template_install at /opt/logstash/lib/logstash/outputs/elasticsearch/protocol.rb:21
          register at /opt/logstash/lib/logstash/outputs/elasticsearch.rb:260
              each at org/jruby/RubyArray.java:1613
      outputworker at /opt/logstash/lib/logstash/pipeline.rb:220
     start_outputs at /opt/logstash/lib/logstash/pipeline.rb:152
请问下,有人遇到过类似的问题吗?或者帮忙分析下问题的具体原因?多谢大家了

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柳若烟 2021-12-02 21:23:28

我也遇到了   请教下你最后怎么解决的?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文