【问题标题】:License information could not be obtained from Elasticsearch for the [data] cluster无法从 Elasticsearch 获取 [data] 集群的许可证信息
【发布时间】:2019-12-31 13:22:08
【问题描述】:

我已经安装了 elasticsearch 7.5.1 和相同版本的 Kibana。我的 es 集群看起来不错,但是 Kibana 无法连接到 elasticsearch。

Kiabana.yml 如下:

server.port: 5601
server.host: "<IP of the kibana instance>"
server.name: "<Name of the kibana instance>"
elasticsearch.hosts: [ "https://<IP of ES instance 1>:443" , "https://<IP of ES instance 2>:443" ]
elasticsearch.username: "<kibana_user>"
elasticsearch.password: "<kibana_user_password>"
server.ssl.enabled: true
server.ssl.certificate:
server.ssl.key:
xpack.security.enabled: true
xpack.reporting.kibanaServer.port: 443
xpack.reporting.kibanaServer.protocol: https
elasticsearch.ssl.certificateAuthorities: [ "" ]
elasticsearch.ssl.verificationMode: certificate
logging.dest: /etc/kibana/log/kibana.log

我尝试了 kibana_oss 和 non_oss,但我得到了同样的错误。

【问题讨论】:

    标签: elasticsearch kibana-7


    【解决方案1】:

    如果 ES 集群主节点设置不正确,可能会发生这种情况。

    先测试ES集群健康

    curl <ES_IP:PORT>/_cluster/health?pretty
    

    【讨论】:

      猜你喜欢
      • 2016-12-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多