当前位置:网站首页>Kibana reports an error server is not ready yet. Possible causes

Kibana reports an error server is not ready yet. Possible causes

2022-04-23 19:28:00 hy_ two hundred and eight

  • By viewing the log , Found out Error: No Living connections The problem of
  • resolvent : Set profile kibana.yml Medium elasticsearch.url Change to the correct link , The default is : http://elasticsearch:9200

1. First let's look at ElasticSearch Inside the container of ip:

docker inspect -f '{
   {range .NetworkSettings.Networks}}{
   {.IPAddress}}{
   {end}}' container_name_or_id

2. Then enter Kibana Inside of container , modify kibana.yml Medium ip

$ docker exec -it kibana Containers id /bin/bash
$ cd config
$ vi kibana.yml

3. Just put the following "http://elasticsearch:9200" Medium elasticsearch Replace with the previous es Inside of container ip That's all right.

#
# ** THIS IS AN AUTO-GENERATED FILE **
#
# Default Kibana configuration for docker target
server.name: kibana
server.host: "0"
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
xpack.monitoring.ui.container.elasticsearch.enabled: true

版权声明
本文为[hy_ two hundred and eight]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231926147970.html