麋鹿堆栈错误弹性搜索不授权logstash
我跟进这个博客从Docker组成的文件中启动Elk Stack,但使用了8.1.2版。它没有成功地运行弹性搜索,因此不授权logstash。
logstash的错误是[main]尝试将连接复活到死去的ES实例,但有一个错误{:url =>“ http:// elasticsearch:9200/“,:exception => logstash :: uptufs :: outputs :: elasticsearch :: httpclient :: pool :: badresponsecodeerror,:message =>“获得响应代码'401'在url'http:// elasticsearch:9200/''}
I followed up this blog to start ELK stack from docker compose file but used version 8.1.2. It is not running successfully elastic search don't authorize Logstash.
The error from Logstash is [main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://elasticsearch:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :message=>"Got response code '401' contacting Elasticsearch at URL 'http://elasticsearch:9200/'"}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试使用HTTP而不是HTTP,因为默认情况下ES 8版本中的安全性。
did you try to use HTTPS instead of HTTP as the security in ES 8 version is enabled by default.