开发者社区> 问答> 正文

logstash start错误?报错

报错信息如下:

 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
请问下,有人遇到过类似的问题吗?或者帮忙分析下问题的具体原因?多谢大家了

展开
收起
爱吃鱼的程序员 2020-06-10 15:39:12 515 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

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

    2020-06-10 15:39:28
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载