在6.x版本之前,kibana配置ES集群格式上不支持的填写多个es节点地址,在7.x以后才支持,那在这两种情况下如何配置呢?我直接提出配置源码:
6.x以前:
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.url: "http://192.168.162.134:9201"
elasticsearch.url: "http://192.168.162.134:9202"
7.x以后:
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://192.168.162.134:9201","http://192.168.162.134:9202"]