下載后解壓使用,打開config目錄下的kibana.yml文件,然后添加:elasticsearch.url: "http://localhost:9200" 表示你要添加的elasticsearch的url。
然后啟動就可以了。
高版本的配置改成了elasticsearch.host
再者就是版本對應 問題了,盡量下載相同版本的。
Elasticsearch version
Kibana should be configured to run against an Elasticsearch node of the same version. This is the officially supported configuration.
Running different major version releases of Kibana and Elasticsearch (e.g. Kibana 5.x and Elasticsearch 2.x) is not supported, nor is running a minor version of Kibana that is newer than the version of Elasticsearch (e.g. Kibana 5.1 and Elasticsearch 5.0).
Running a minor version of Elasticsearch that is higher than Kibana will generally work in order to facilitate an upgrade process where Elasticsearch is upgraded first (e.g. Kibana 5.0 and Elasticsearch 5.1). In this configuration, a warning will be logged on Kibana server startup, so it’s only meant to be temporary until Kibana is upgraded to the same version as Elasticsearch.
Running different patch version releases of Kibana and Elasticsearch (e.g. Kibana 5.0.0 and Elasticsearch 5.0.1) is generally supported, though we encourage users to run the same versions of Kibana and Elasticsearch down to the patch version.