错误无法通过http:// localhost:9200联系Elasticsearch. – kibana仪表板
‘错误无法在 http://localhost:9200联系Elasticsearch.请确保您的系统可以访问Elasticsearch.目前我关注http://packetbeat.com/getstarted
我安装了
>弹性搜索 – 在localhost上运行:9200 – 返回json,
2.packetbeat – 跑步,
>港口8000的Kibana
现在,我改变了我的kibana / config.js文件 – 输入,
elasticsearch: "http://"localhost":9200",
在弹性搜索下.
我在顶部有一个带有{{dashboard.current.title}}的纯白页面.
如果我评论出弹性搜索:“http://”localhost“:9200”,
我收到错误无法通过http:// localhost:9200联系Elasticsearch.请确保您的系统可以访问Elasticsearch.
如果我也将它作为elasticsearch输入:“http:// localhost:9200”,我得到的错误是它无法联系elasticsearch.
所以,我假设有弹性搜索:“http://”localhost“:9200”,是对的,但它应该呈现一些东西.也许是一个UI
您需要确保在kibana配置中设置了elaticsearch_url.vim /opt/kibana/config/kibana.yml
elasticsearch_url:“http:// localhost:9200”
然后重启:
sudo服务kibana重启
资料来源:Logz