Elasticsearch 监控

2022-02-10 20:23:01 浏览数 (1)

前言

由于elasticsearch有plugins机制,监控elasticsearch只需要安装一个head插件

但在生产环境下还有安全方面的考虑,只能让有管理权限的人员查看,所以需要加入访问控制,下面分享一下elasticsearch监控涉及的操作及方法

Tip: 当前的版本为 Elasticsearch-1.2.2Tengine-2.1.2


概要


安装插件

代码语言:javascript复制
[root@es_node ~]# /data/ES/bin/plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...
Downloading ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Installed mobz/elasticsearch-head into /data/ES/plugins/head
[root@es_node ~]# /data/ES/bin/plugin -l
Installed plugins:
    - head
    - analysis-mmseg
[root@es_node ~]# ll /data/ES/plugins/
total 8
drwxr-xr-x 2 bhuser bhuser 4096 Jul 10  2014 analysis-mmseg
drwxr-xr-x 5 root   root   4096 Jan  6 19:22 head
[root@es_node ~]# chown -R bhuser.bhuser /data/ES/plugins/head/
[root@es_node ~]# ll /data/ES/plugins/
total 8
drwxr-xr-x 2 bhuser bhuser 4096 Jul 10  2014 analysis-mmseg
drwxr-xr-x 5 bhuser bhuser 4096 Jan  6 19:22 head
[root@es_node ~]#

0 人点赞