ELK 之 Elasticsearch的插件head/kopf/bigdesk(安装/调试)

插件包下载:
https://github.com/remembertr/elasticsearch–/blob/master/elasticsearch-head-master.zip
https://github.com/remembertr/elasticsearch–/blob/master/bigdesk-master.zip
https://github.com/remembertr/elasticsearch–/blob/master/elasticsearch-kopf-master.zip

网上下载插件包(我单独将插件压缩包上传进了git)

未指定位置,默认为/root下:

[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/elasticsearch-head-master.zip 
[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/elasticsearch-kopf-master.zip
[root@es1 ~]# wget -c https://github.com/remembertr/elasticsearch--/blob/master/bigdesk-master.zip
切换到elasticsearch目录内,并安装下载的插件包
[root@es1 ~]# cd /usr/share/elasticsearch/bin/
[root@es1 bin]# ./plugin install file:///root/elk/elasticsearch-head-master.zip
[root@es1 bin]# ./plugin install file:///root/elk/elasticsearch-kopf-master.zip
[root@es1 bin]# ./plugin install file:///root/elk/bigdesk-master.zip
查看已安装的插件
[root@es1 bin]# ./plugin list

Installed plugins in /usr/share/elasticsearch/plugins:
- head
- kopf
- bigdesk

确认安装插件成功并能使用
[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/head

在这里插入图片描述

[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/kopf

在这里插入图片描述

[root@es1 bin]# firefox http://192.168.1.11:9200/_plugin/bigdesk

在这里插入图片描述

使用head创建index
[root@es1 bin]# curl -X PUT "http://192.168.1.11:9200/index" -d '
> {
    
    
>   "setting": {
    
    
>   "index": {
    
    
>   "number_of_shards":5,
>   "number_of_replicas":1
> }
> }
> }'
{
    
    "acknowledged":true}[root@es1 bin]# 

使用kopf查看数据

[root@es1 bin]# firefox 192.168.1.11:9200/_plugin/kopf

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_45942735/article/details/104326344