-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Kibana 3 & Elasticsearch 1.4.0 beta 1 #1637
Comments
Thanks for the heads up! |
Feel like im missing something, however i cannot seem to get this working on ES 1.4.1 and Kibana 3.1.2. My test machine is a all in one vm, I used the debian package for es install, I couldnt find the options in my /etc/elasticsearch/elasticsearch.yml file, so added to the following to the end http.cors.enabled: true I also tried "localhost", "127.0.0.1" and "hostname" , however I seemed to still get this error |
Sods law, I fixed it by using the following which is less than ideal, to let any, could have been the order will try some other options |
After playing a bit, the first fix doesnt work, :S, May try rebuilding the vm |
Ive reinstalled now with no issues, might have been a corrupt deb hopefully |
When using older versions of Kibana 3 you may receive an error that it can not connect to Elasticsearch 1.4.0 beta 1. This is due to security settings changes made in Elasticsearch 1.4.0 beta 1. Unfortunately due to browser behavior it is not possible for Kibana to differentiate between a down instance of Elasticsearch, and one with overly restrictive CORS settings.
To resolve this issue you will need to set
http.cors.allow-origin
in yourelasticsearch.yml
to the correct protocol, hostname, and port (if not 80) that your access Kibana from. Note that if you are running Kibana in a sub-url, you should exclude the sub-url path and only include the protocol, hostname and port. For example,http://mycompany.com:8080
, nothttp://mycompany.com:8080/kibana
.You will also need
http.cors.enabled: true
The text was updated successfully, but these errors were encountered: