好用的es检测平台cerebro

2020-03-31  本文已影响0人  当_下

下载的地址:

https://github.com/lmenezes/cerebro/releases

下载:

wget https://github.com/lmenezes/cerebro/releases/download/v0.8.5/cerebro-0.8.5.tgz

解压:

tar xzf cerebro-0.8.1.tgz

启动:

cerebro-0.8.1/bin/cerebro

[info]play.api.Play-Applicationstarted(Prod)

[info]p.c.s.AkkaHttpServer-ListeningforHTTPon/0:0:0:0:0:0:0:0:9000

指定端口:

bin/cerebro -Dhttp.port=9100

配置:

vim  conf/application.conf

hosts = [

  {

    host = "http://172.16.93.192:9200"

    name = "elasticsearch"

  # headers-whitelist = [ "x-proxy-user", "x-proxy-roles", "X-Forwarded-For" ]

  }

  #aaaa Example of host with authentication

  #{

  #  host = "http://some-authenticated-host:9200"

  #  name = "Secured Cluster"

  #  auth = {

  #    username = "username"

  #    password = "secret-password"

  #  }

  #}

]

后台启动

nohup /data/cerebro/cerebro-0.8.5/bin/cerebro -Dhttp.port=9100 >> /data/cerebro/output.log 2>&1 &

登录:

http://47.97.25.51:9100/

界面

上一篇下一篇

猜你喜欢

热点阅读