使用 Elasticsearch 中重要的一个插件为 kibana ,是一个免费的web数据显示客户端。提供了非常美观和友好的浏览器界面,可用于对数据展示、汇总、分析、搜索等。
安装配置
> wget https://artifacts.elastic.co/downloads/kibana/kibana-5.0.0-linux-x86.tar.gz
> tar -zxf kibana-5.0.0-linux-x86_64.tar.gz -C /usr/local/
配置文件
> vi config/kibana.yml
server.port: 5601
server.name: "kibanatest"
server.host: "192.168.1.20"
elasticsearch.url: "http://192.168.1.20:9200"
启动服务
└─(root@host-192-168-1-20)$ ./bin/kibana
log [05:19:32.077] [info][status][plugin:kibana@5.0.0] Status changed from uninitialized to green - Ready
log [05:19:32.137] [info][status][plugin:elasticsearch@5.0.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [05:19:32.164] [info][status][plugin:console@5.0.0] Status changed from uninitialized to green - Ready
log [05:19:32.342] [info][status][plugin:timelion@5.0.0] Status changed from uninitialized to green - Ready
log [05:19:32.346] [info][listening] Server running at http://0.0.0.0:5601
log [05:19:32.348] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow
log [05:19:37.206] [info][status][plugin:elasticsearch@5.0.0] Status changed from yellow to yellow - No existing Kibana index found
log [05:19:38.039] [error][status][ui settings] Status changed from yellow to red - Could not find user-provided settings for Kibana 5.0.0
log [05:19:38.392] [info][status][plugin:elasticsearch@5.0.0] Status changed from yellow to green - Kibana index ready
log [05:19:38.393] [info][status][ui settings] Status changed from red to green - Ready
浏览器访问地址http://192.168.1.222:5601/