Skip to content

Kibana connects to http://localhost:9200 instead of http://elasticsearch:9200 as advertised in documentation #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jpetazzo opened this issue Feb 9, 2016 · 4 comments

Comments

@jpetazzo
Copy link

jpetazzo commented Feb 9, 2016

The doc for the image says:

$ docker run --link some-elasticsearch:elasticsearch -d kibana

But then when connecting to Kibana, it complains that it cannot connect to http://localhost:9200.

Adding ELASTICSEARCH_URL=http://elasticsearch:9200 to the environment does the trick.

I don't know if we want to provide that as a default env var, or update the docs, or both, but something has to be done :-)

@9monsters
Copy link

I got the same error , warning: missing ELASTICSEARCH_PORT_9200_TCP or ELASTICSEARCH_URL Did you forget to --link some-elasticsearch:elasticsearch or -e ELASTICSEARCH_URL=http://some-elasticsearch:9200 ?

@arthurtsang
Copy link

just linking it doesn't work, you'll also have to add the ELASTICSEARCH_URL env variable, but since the containers are linked you can use the link in the url.

@tianon
Copy link
Member

tianon commented Oct 14, 2016

This should've been fixed by #44. 👍

@tianon
Copy link
Member

tianon commented Oct 4, 2017

This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/kibana/current/_pulling_the_image.html).

For more information, please see docker-library/elasticsearch#160, docker-library/docs#842, and docker-library/docs#945.

This image has been deprecated in favor of the official kibana image provided and maintained by elastic.co. The upstream images are available to pull via docker.elastic.co/kibana/kibana:[version] like 5.4.2. The images found here will receive no further updates once the 5.6.0 release is available upstream. Please adjust your usage accordingly.

Elastic provides open-source support for Kibana via the elastic/kibana GitHub repository and the Docker image via the elastic/kibana-docker GitHub repository, as well as community support via its forums.

Thanks!

@tianon tianon closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants