cerebro官网:https://github.com/lmenezes/cerebro
1.了解cerebro
cerebro是一个开源(MIT许可)elasticsearch web管理工具,使用Scala、Play Framework、AngularJS和Bootstrap构建。cerebro的运行需要java1.8及以上版本。
github访问地址:https://github.com/lmenezes/cerebro
2.下载安装
sudo wget https://github.com/lmenezes/cerebro/releases/download/v0.8.4/cerebro-0.8.4.tgz
3.修改配置conf/application.conf
host:es的地址
name:es的cluster.name
auth是访问es的账号密码,如果es配置的访问限制的话
4.启动服务bin/cerebro ,默认端口9000
上述错误需要刷新一下jdk,source /etc/profile 命令就可以
指定启动的端口号,加启动参数 ./cerebro -Dhttp.port="8088" &
5.cerebro的使用
概要信息:
节点信息
rest接口,请求es的API接口: