{"id":15132480,"url":"https://github.com/1340691923/elasticview","last_synced_at":"2025-05-14T22:09:12.977Z","repository":{"id":37631704,"uuid":"346323211","full_name":"1340691923/ElasticView","owner":"1340691923","description":"This is a simple and user-friendly plugin management platform. Currently, the official plugin supports management of ElasticSearch versions 6, 7, and 8. 这是一个简单易用的插件管理平台。目前，官方插件支持ElasticSearch版本6、7和8的管理","archived":false,"fork":false,"pushed_at":"2025-04-16T04:54:12.000Z","size":286885,"stargazers_count":1222,"open_issues_count":24,"forks_count":177,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-05-14T22:09:06.250Z","etag":null,"topics":["elastic","elastic-sql-dsl","elasticsearch","elasticsearch-gui","elasticview","es","go","plugin","sql","vue"],"latest_commit_sha":null,"homepage":"http://www.elastic-view.cn/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1340691923.png","metadata":{"files":{"readme":"README-cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-10T10:52:51.000Z","updated_at":"2025-05-14T09:29:00.000Z","dependencies_parsed_at":"2024-09-21T04:01:29.017Z","dependency_job_id":"af6ca221-3106-4362-9f88-98874cf80427","html_url":"https://github.com/1340691923/ElasticView","commit_stats":{"total_commits":187,"total_committers":7,"mean_commits":"26.714285714285715","dds":0.0802139037433155,"last_synced_commit":"116bb3d27b23efc5f1703d21697bf52cae27fdef"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1340691923%2FElasticView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1340691923%2FElasticView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1340691923%2FElasticView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1340691923%2FElasticView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1340691923","download_url":"https://codeload.github.com/1340691923/ElasticView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235701,"owners_count":22036964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elastic","elastic-sql-dsl","elasticsearch","elasticsearch-gui","elasticview","es","go","plugin","sql","vue"],"created_at":"2024-09-26T04:04:49.298Z","updated_at":"2025-05-14T22:09:07.961Z","avatar_url":"https://github.com/1340691923.png","language":"Go","readme":"﻿\u003ch1 align=\"center\"\u003e\r\n   作者求工作，tel：13298692154\r\n\u003c/h1\u003e\r\n \u003ch1 align=\"center\"\u003e\r\n   \u003cbr\u003e\r\n   \u003cimg src=\"https://gitee.com/cynthia520/elastic-view/raw/main/static/show_img/2.png\"/\u003e\r\n   \u003cbr\u003e\r\n   ElasticView\r\n   \u003cbr\u003e\r\n\u003c/h1\u003e\r\n\r\n-----------\r\n[![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/1340691923/ElasticView)\r\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/1340691923/ElasticView/blob/main/LICENSE)\r\n[![Release](https://img.shields.io/github/release/1340691923/ElasticView.svg?label=Release)](https://gitee.com/cynthia520/elastic-view/releases)\r\n\r\n\u003e ElasticView\r\n\u003e 是一款用来监控ElasticSearch状态和操作ElasticSearch索引的web可视化工具。它由golang开发而成，具有部署方便，占用内存小等优点，官网地址:http://www.elastic-view.cn\r\n\r\n* ElasticSearch连接树管理（更方便的切换测试/生产环境）\r\n* 支持权限管理\r\n* 支持sql转换成dsl语法\r\n* 更方便的重建索引\r\n* 任务管理\r\n* 备份管理\r\n* 可将查询内容下载为excel文件\r\n* 可进行索引创建，映射创建，别名创建，索引删除等操作\r\n* 支持版本 `6.x`,`7.x`,`8.x`\r\n* 支持类似Navicat功能\r\n* docker部署\r\n* 支持sqlite3（免安装gcc版）\r\n* 数据抽取功能\r\n\r\n## 官网地址\r\n\r\n[http://www.elastic-view.cn]( http://www.elastic-view.cn)\r\n\r\n## Quick Start\r\n\r\n1. [应用程序下载地址]( https://gitee.com/cynthia520/elastic-view/releases/)\r\n2. 下载应用程序下载地址里面的对应压缩包后解压（windows用户下载ElasticView_windows.zip，linux用户下载ElasticView_linux.zip，mac用户下载\r\n   ElasticView_mac.zip）\r\n3. （若无需mysql存储数据则跳过该步骤）修改config.json文件中的 数据库连接信息，日志存放目录和应用启动端口等配置信息\r\n4. （若无需mysql存储数据则跳过该步骤）数据存储 若config.json下的dbType为sqlite3则指定sqlite配置下的dbPath即可（无需安装gcc）\r\n   为mysql则需新建mysql数据库 es_view，导入es_view.sql并修改mysql配置\r\n5. windows：双击ElasticView.exe linux：chmod +x ElasticView \u0026\u0026 nohup ./ElasticView \u003e ElasticView.log \u0026\r\n6. 浏览器访问对应ip:端口，初始用户名：admin，初始密码：admin\r\n\r\n## ElasticView 教学视频（来源：https://blog.csdn.net/dzcro/article/details/126918571?spm=1001.2014.3001.5502）\r\n\r\nhttps://www.bilibili.com/video/av473231184/?zw\u0026spm_id_from=888.80996.embed_old\r\n\r\n## ElasticView 教学视\r\n\r\n##支持操作系统：\r\n\r\n- Windows\r\n- Linux\r\n- MacOs\r\n\r\n\u003c!-- ## 手动编译\r\n 1. `git clone git@github.com:1340691923/ElasticView.git`\r\n 2. `cd vue \u0026\u0026 cnpm install (安装前端依赖)`\r\n 3. `执行resource/vue 下的 npm run build:prod）`\r\n 4. `执行根目录下 go run cmd/build/main.go --homePath=$(pwd) --configFile=$(pwd)/config/config.yml )  (编译二进制可执行程序)`\r\n  --\u003e\r\n\r\n## ☁docker部署\r\n\r\n图文教程：[https://4xx.me/archives/128.html](https://4xx.me/archives/128.html)\r\n\r\n- sqlite3存储\r\n\r\n```shell\r\ndocker run --restart=unless-stopped -d -p 8090:8090 -v /data/elastic_view/data:/data -v /data/elastic_view/logs:/logs kecikeci/elastic_view:latest\r\n```\r\n\r\n- mysql存储部署\r\n\r\n1. 新建数据库`es_view`\r\n2. 导入对应数据表`es_view.sql`\r\n3. 准备`config.yml`配置文件并修改对应连接信息\r\n\r\n```yaml\r\nlog:\r\n   storageDays: 4          # 日志保留天数\r\n   logDir: \"logs\"         # 日志保留文件夹\r\nport: 8090              # 启动端口\r\ndbType: \"mysql\"       # 数据保留类型 分为 sqlite3 和 mysql\r\nsqlite:                 # dbType为sqlite3时填 dbPath为数据保存文件地址\r\n   dbPath: \"es_view.db\"\r\nmysql:                  # dbType为mysql时填\r\n   username: \"root\"\r\n   pwd: \"123456\"\r\n   ip: \"127.0.01\"\r\n   port: \"3306\"\r\n   dbName: \"es_view\"\r\n   maxOpenConns: 10\r\n   maxIdleConns: 10\r\nesPwdSecret: \"concat_mail!!-\u003e1340691923@qq.com\" # es密码加密密钥 加密方式为 AES\r\nversion: \"1.8.5\"  # ES 版本号\r\ndeBug: false      # 是否为测试模式 如果为 false则打开默认浏览器直接访问地址\r\n```\r\n\r\n4. 挂载`config`目录或`config.yml`配置文件启动镜像\r\n\r\n```shell\r\ndocker run --restart=unless-stopped -d -p 8090:8090 -v /data/elastic_view/data:/data -v /data/elastic_view/config:/config -v /data/elastic_view/logs:/logs kecikeci/elastic_view:latest\r\n```\r\n\r\n- 浏览器访问对应ip:8090，初始用户名：admin，初始密码：admin\r\n\r\n## 🛠️手动构建\r\n\r\n```shell\r\n# 拉取项目源代码\r\ngit clone https://github.com/1340691923/ElasticView\r\n\r\n# 同步前端项目依赖\r\ncd resources/vue \u0026\u0026 npm install\r\n\r\n# 构建前端包\r\nnpm run build:prod\r\n\r\n# 构建项目二进制程序\r\nCGO_ENABLED=0 GOOS=linux go build -ldflags '-w -s' -o ev cmd/ev/main.go\r\n```\r\n\r\n## 更多\r\n\r\n* 铸龙用户行为分析系统     https://github.com/1340691923/xwl_bi\r\n* 软考成绩快查工具        https://github.com/1340691923/SoftTestMonitor\r\n\r\n### 求职中，个人微信二维码\r\n\r\n\u003c!-- ![image](https://gitee.com/cynthia520/elastic-view/raw/main/static/show_img/weixin.jpg)   --\u003e\r\n\u003cimg src=\"https://raw.githubusercontent.com/1340691923/ElasticView/main/resources/show_img/weixin.jpg\" style=\"width: 220px\"\u003e \r\n### 求职中，团队成员微信二维码\r\n\r\n\u003cimg src=\"http://cdn.ycvod.net/img/wx2.jpg\" style=\"width: 220px\"\u003e \r\n\r\n### QQ群\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/1340691923/ElasticView/main/resources/show_img/qq_group.jpg\" style=\"width: 220px\"\u003e\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1340691923%2Felasticview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1340691923%2Felasticview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1340691923%2Felasticview/lists"}