I'm trying to run Elasticsearch and Kibana with Docker. I've installed docker on a virtual machine (Ubuntu Server) and I've used the docker-compose.yml, elasticsearch.yml and kibana.yml as mentioned over here: https://stackoverflow.com/a/44005640/1843511
Now first it did started to boot the extra plugin (head_540), which was reachable on http://ip_of_my_vm:9100
, but Elasticsearch wasn't and kibana neither. Kibana gave me a "Too many redirects" error, when I was trying to reach http://ip_of_my_vm:5601`. I figured out that it was trying to redirect me to a login page, and probably the reason was that X-Pack is deliverd with the image and automatically enabled (but not as it should be so it seems, because I couldn't open the url's). So I tried disabling it by editing the elasticsearch.yml:
cluster.name: "chimeo-docker-cluster"
node.name: "chimeo-docker-single-node"
network.host: 0.0.0.0
xpack.security.enabled: false
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-headers: "Authorization"
and kibana.yml:
server.name: kibana
server.host: "0"
xpack.security.enabled: false
xpack.reporting.enabled: false
xpack.monitoring.enabled: false
elasticsearch.url: http://elasticsearch:9200
# elasticsearch.username: "elastic"
# elasticsearch.password: "changeme"
xpack.monitoring.ui.container.elasticsearch.enabled: false
Now I can reach Elasticsearch when booting composer by docker-compose up
, but kibana is stuck:
kibana_540 | {"type":"log","@timestamp":"2018-04-27T10:56:26Z","tags":["info","optimize"],"pid":1,"message":"Optimizing and caching bundles for graph, ml, kibana, timelion and status_page. This may take a few minutes"}
Now, besides all those errors like
elasticsearch_540 | [2018-04-27T10:58:12,100][ERROR][o.e.x.m.e.l.LocalExporter] failed to get monitoring watch [h7x_x5GCTjqL2wadFDSM8w_logstash_version_mismatch]
elasticsearch_540 | java.lang.IllegalStateException: watch store not started
It seems that Elasticsearch is actually working, because I can reach the url at http://ip_of_my_vm:9200
but my kibana isn't, nor is the extra plugin.
Anyone who can help me out with this?