最近ElasticSearch使用中出现好多异常情况,一直都是命令行直接排查问题,不够直观。网络上大部分都推荐KopfBigdesk,但是都已经是过时的工具,多年都没有更新了。

ps: kopf的github首页就表明该项目不再维护,推荐使用cerebro;bigdesk也只支持ElasticSearch1.3及以下版本

而且cerebro的使用特别简单,页面还很漂亮!

ES之十:ElasticSearch监控工具 - cerebro
监控页面

下载解压

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


wget https://github.com/lmenezes/cerebro/releases/download/v0.8.1/cerebro-0.8.1.tgz
tar xzf cerebro-0.8.1.tgz

启动

cerebro-0.8.1/bin/cerebro
[info] play.api.Play - Application started (Prod)
[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
  • 指定端口
bin/cerebro -Dhttp.port=8080
  • 配置服务器

非必须:如果经常使用的话,可以先在conf/application.conf中配置好ElasticSearch服务器地址

hosts = [
  {
    host = "http://localhost:9200"
    name = "Some Cluster"
  },
  # Example of host with authentication
  #{
  #  host = "http://some-authenticated-host:9200"
  #  name = "Secured Cluster"
  #  auth = {
  #    username = "username"
  #    password = "secret-password"
  #  }
  #}
]

使用

ES之十:ElasticSearch监控工具 - cerebro
预配置好的Some Cluster

连接后可以显示集群信息:

  • 概要信息


    ES之十:ElasticSearch监控工具 - cerebro
    监控页面
  • 节点信息


    ES之十:ElasticSearch监控工具 - cerebro
    节点信息
  • Rest接口


    ES之十:ElasticSearch监控工具 - cerebro
    Rest接口
  • 其他功能


    ES之十:ElasticSearch监控工具 - cerebro
    其他状态查询

ElasticSearch系列

参考


转:https://www.jianshu.com/p/433d821f9667

相关文章:

  • 2021-09-26
  • 2021-05-23
  • 2022-01-07
  • 2021-08-06
  • 2021-11-13
  • 2021-12-20
  • 2021-05-02
  • 2021-11-27
猜你喜欢
  • 2021-10-04
  • 2021-12-03
  • 2022-02-26
  • 2022-12-23
  • 2021-09-01
  • 2021-05-26
相关资源
相似解决方案