【问题标题】:Unable to connect elasticsearch-opendistro with kibana无法将 elasticsearch-opendistro 与 kibana 连接
【发布时间】:2019-05-14 14:32:10
【问题描述】:

我正在尝试将amazon/opendistro-for-elasticsearch:0.9.0docker.elastic.co/kibana/kibana:7.0.1 连接起来,下面是我的docker compose。我是弹性堆栈的新手,

version: '3'

services:
  application:
    image: amazon/opendistro-for-elasticsearch:0.9.0
    environment:
      - CLUSTER_NAME=cluster
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - opendistro_security.ssl.http.enabled=false
    volumes:
      - data:/usr/share/elasticsearch/data
    restart: always
    ulimits:
      soft: -1
      hard: -1
    ports:
      - 9200:9200
    networks:
      - odfe-net

  kibana:
    image: docker.elastic.co/kibana/kibana:7.0.1
    ports:
      - 5601:5601
    expose:
      - "5601"
    environment:
      ELASTICSEARCH_URL: http://application:9200
    networks:
      - odfe-net


volumes:
  data:

networks:
  odfe-net:

当我运行 docker 文件时,我看到以下错误:

{"type":"log","@timestamp":"2019-05-14T14:23:21Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: https://application:9200/"}

有人试过这种设置吗?

【问题讨论】:

    标签: docker kibana elasticsearch-opendistro


    【解决方案1】:

    你可以试试这个https://discuss.elastic.co/t/kibana-unable-to-revive-connection-no-living-connections/165745/4
    或者有几个可能的问题:
    1) 应用程序中没有定义 container_name 值为“application”
    2)您正在尝试连接不兼容版本的 Kibana(7.0.1)和 ES(opendistro 0.9.0 => 裸 6.7.1)

    【讨论】:

      猜你喜欢
      • 2020-09-16
      • 2020-12-13
      • 2017-03-09
      • 2019-01-21
      • 2016-12-28
      • 1970-01-01
      • 1970-01-01
      • 2017-03-13
      • 2019-10-25
      相关资源
      最近更新 更多