推荐一款轻量级且实用的Elasticsearch GUI管理工具elasticvue
Elasticvue是一个免费且开源的Elasticsearch图形用户界面,您可以使用它来管理集群中的数据
github地址
https://github.com/cars10/elasticvue
下面介绍如何在部署elasticvue并连接并管理GrayLog的OpenSearch索引
我这里直接在GrayLog服务器上面部署docker-ce
一、安装docker环境
yum install -y yum-utilsyum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repoyum install docker-ce docker-ce-cli containerd.io systemctl enable dockersystemctl start docker
二、docker安装elasticvue
docker pull cars10/elasticvue
由于网络等XX原因未能拉取成功,采用导入镜像文件的方式来安装
docker load -i elasticvue.tar
设置预设的OpenSearch集群配置信息
echo'[{"name": "graylog", "uri": "http://192.168.31.74:9200", "username": "admin", "password": "Opensearch_2024"}]' > /opt/graylog_opensearch_config.json
启动elasticvue容器
docker run -d --restart=always -p 8080:8080 -v /opt/graylog_opensearch_config.json:/usr/share/nginx/html/api/default_clusters.json cars10/elasticvue
三、配置OpenSearch的CORS参数
echo"http.cors.enabled: true" >> /etc/opensearch/opensearch.ymlecho'http.cors.allow-origin: "*"' >> /etc/opensearch/opensearch.ymlecho"http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization" >> /etc/opensearch/opensearch.ymlsystemctl restart opensearch
四、登录elasticvue
导入预设的集群
切换成Dark主题
节点信息
分片信息
索引信息
备注:
原文始发于微信公众号(WalkingCloud):推荐一款轻量级且实用的Elasticsearch GUI管理工具elasticvue
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论