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接口: