snowstorm icon indicating copy to clipboard operation
snowstorm copied to clipboard

Trying to integrate kibana here

Open veerandra7 opened this issue 3 years ago • 3 comments

I am trying to integrate kibana in the docker-compose.yml file. But ended up getting "kibana server is not ready yet" error in the browser. The part i added in the compose file:

""" kibana: container_name: kibana image: docker.elastic.co/kibana/kibana:7.7.0 restart: always environment: - ELASTICSEARCH_HOSTS=http://elasticsearch:9200 networks: - elastic ports: - 5601:5601 depends_on: - elasticsearch

"""

Any suggessions would be helpful

veerandra7 avatar Aug 13 '22 14:08 veerandra7

I've not tried this. It's a generic docker / Elasticsearch question so maybe someone in the community can help.

kaicode avatar Sep 19 '22 10:09 kaicode

Hi @veerandra7 I'm not an expert but would suggest trying to replace your environment variables by the following (which worked for me).

 ELASTICSEARCH_URL: http://es:9200
 ELASTICSEARCH_HOSTS: '["http://es:9200"]'

Hope this helps. docker logs kibana may also possibly provide greater clues as to what is happening! 🤞

peterdutey avatar Sep 19 '22 11:09 peterdutey

Hi @veerandra7

The docker-compose file you shared completely worked fine in my environment. It took 3 to 5 minutes to start but I could access the top page of kibana as follows. image

If you share logs of kibana and some more information about the environment, someone will help you.

tmitanitky avatar Feb 26 '23 12:02 tmitanitky