logstash安装了x-pack。不知道是不是装这个原因。
logstash启动后报连接localhost:9200 401的问题。启动后一直报这个错误。滚动报,
[WARN ] 2018-06-20 11:57:07.466 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.0.2-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:228] licensereader - Attempted to resurrect connection to dead ES instance, but got an error.
{:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL '/'"}[/url]
1 个回复
luohuanfeng
赞同来自: