Elasticvue是一个免费且开源的Elasticsearch图形用户界面,您可以使用它来管理集群中的数据
github地址
https://github.com/cars10/elasticvue
下面介绍如何在部署elasticvue并连接并管理GrayLog的OpenSearch索引
我这里直接在GrayLog服务器上面部署docker-ce
yum install -y yum-utils
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io
systemctl enable docker
systemctl start docker
(图片点击放大查看)
(图片点击放大查看)
(图片点击放大查看)
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
(图片点击放大查看)
(图片点击放大查看)
echo "http.cors.enabled: true" >> /etc/opensearch/opensearch.yml
echo 'http.cors.allow-origin: "*"' >> /etc/opensearch/opensearch.yml
echo "http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization" >> /etc/opensearch/opensearch.yml
systemctl restart opensearch
(图片点击放大查看)
导入预设的集群
切换成Dark主题
节点信息
分片信息
索引信息
本文分享自 WalkingCloud 微信公众号,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文参与 腾讯云自媒体同步曝光计划 ,欢迎热爱写作的你一起参与!