hosts = [
#{
# host = "http://localhost:9200"
# name = "Some Cluster"
#},
# Example of host with authentication
{
host = "http://master:9200"
# name = "Secured Cluster"
auth = {
username = "admin"
password = "admin"
}
}
]
其他的可以忽略,配置好后启动,在cerebro当前目录执行
sh bin/cerebro -Dhttp.port=9001
原文:https://www.cnblogs.com/qlsem/p/15146367.html