snowstorm
snowstorm copied to clipboard
Trying to integrate kibana here
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
I've not tried this. It's a generic docker / Elasticsearch question so maybe someone in the community can help.
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! 🤞
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.

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