下载以及安装
https://www.elastic.co/downloads/kibana
1.Download and unzip Kibana
2.
- Open config/kibana.yml in an editor
- Set
elasticsearch.hosts
to point at your Elasticsearch instance
将配置开关打开elasticsearch.hosts: ["http://localhost:9200"]
3.Run bin/kibana
(or binkibana.bat
on Windows)
4.Point your browser at http://localhost:5601
5.Dive into the getting started guide and video.
配置log
https://github.com/elastic/kibana/issues/3407
there's bin/kibana --log-file foo.txt
and you can also specify logging.dest in kibana.yml.
在配置文件中配置
# Enables you specify a file where Kibana stores log output.
#logging.dest: stdout
logging.dest: kibana.log
配置server.host
如果需要通过ip进行访问的话,需要配置server.host结点
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
#server.host: "localhost"