I am able to set up the elastic stack, with file beat, logstash, elasticsearch and kibana on a Unix machine. Here is the kibana part of the docker-compose.yml
kibana:
image: docker.elastic.co/kibana/kibana:6.4.2
container_name: kibana
ports:
- 5601:5601
environment:
- cluster.name=docker-cluster
- elasticsearch.url=http://elasticsearch:9200
- server.host=0.0.0.0
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.zen.ping.unicast.hosts=elasticsearch"
networks:
- esnet
depends_on:
- elasticsearch
However I am able to curl kibana from the docker host machine
$ curl ***hostname***:5601
<script>var hashRoute = '/app/kibana';
var defaultRoute = '/app/kibana';
var hash = window.location.hash;
if (hash.length) {
window.location = hashRoute + hash;
} else {
window.location = defaultRoute;
But unable to open the kibana (http://hostname:5601) from my laptop which is in the same network domain.
Please help me with this. Thanks.
http://localhost:5601
from your local browser after thekibana
container is up and running? – gravetiicurl
it with its public ip inside the host machine too? – Amir Masud Zare Bidaki