'Error Could not contact Elasticsearch at http://localhost:9200. Please ensure that Elasticsearch is reachable from your system.'
Currently I am following http://packetbeat.com/getstarted
I installed
- elastic search - running on localhost:9200 - returns the json, 2.packetbeat - running,
- Kibana on port 8000
Now, I change my kibana/config.js file - enter ,
elasticsearch: "http://"localhost":9200", under elasticsearch. I get a plain white page with {{dashboard.current.title}} on top.
If I comment out elasticsearch: "http://"localhost":9200",
I get Error Could not contact Elasticsearch at http://localhost:9200. Please ensure that Elasticsearch is reachable from your system.
If I also enter it as elasticsearch: "http://localhost:9200",, I get the same error that it could not contact elasticsearch.
So, I am assuming elasticsearch: "http://"localhost":9200", is right, but it should render something. perhaps a UI
curl http://127.0.0.1:9200, also the correct format for the elasticsearch setting is:elasticsearch: "http://localhost:9200"the way you have it is printing{{dashboard.current.title}}because the settingelasticsearch: "http://"localhost":9200"breaks the js. Finally, what doeshost localhostresolve to on your system?