dejavu是Elasticsearch的缺失Web UI,旨在解决传统UI(如Kibana)响应性不足、部署笨重的问题。采用100%客户端渲染技术,实现无页面刷新、无限滚动、实时更新等现代特性,支持以Docker镜像、Chrome扩展或托管应用形式部署。核心功能包括数据可视化浏览、JSON/CSV数据导入、搜索UI可视化构建及多索引管理,适用于开发者和数据分析师高效管理Elasticsearch数据。
支持连接Elasticsearch集群中的任意索引,并本地缓存已连接索引,便于再次访问时快速加载。
提供直观的字段级筛选和全局搜索,支持隐藏无关数据,筛选结果可导出为JSON或CSV文件,简化数据筛选与分析流程。
支持分页浏览(可自定义页面大小)、多索引/类型数据浏览,支持单条或批量数据编辑及删除,适配大规模数据集浏览需求。
通过向导式配置界面,直接导入JSON或CSV文件到Elasticsearch,并支持从GUI定义字段映射关系。
支持通过可视化界面设计搜索UI,测试搜索相关性,生成代码可导出至codesandbox,加速搜索功能开发与测试。
基本部署
bashdocker run -p 1358:1358 -d appbaseio/dejavu
启动后访问 http://localhost:1358 即可使用。
指定版本部署
如需使用特定版本(如3.3.0):
bashdocker run -p 1358:1358 -d appbaseio/dejavu:3.3.0
Elasticsearch需启用CORS以允许dejavu访问,修改elasticsearch.yml配置文件:
yamlhttp.port: 9200 http.cors.allow-origin: 'http://localhost:1358' # 根据部署方式调整(如Chrome扩展需改为扩展ID) http.cors.enabled: true http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization http.cors.allow-credentials: true
不同版本Elasticsearch的Docker启动命令
bashdocker run --name elasticsearch -p 9200:9200 -d elasticsearch:2 -Des.http.port=9200 -Des.http.cors.allow-origin="http://localhost:1358" -Des.http.cors.enabled=true -Des.http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization -Des.http.cors.allow-credentials=true
bashdocker run --name elasticsearch -p 9200:9200 -d elasticsearch:5 -E http.port=9200 -E http.cors.allow-origin="http://localhost:1358" -E http.cors.enabled=true -E http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization -E http.cors.allow-credentials=true
bashdocker run -p 9200:9200 -d docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4 -Ehttp.port=9200 -Ehttp.cors.enabled=true -Ehttp.cors.allow-origin=http://localhost:1358 -Ehttp.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization -Ehttp.cors.allow-credentials=true
bashdocker run -d --rm --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e "http.cors.enabled=true" -e "http.cors.allow-origin=*" -e "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization" -e "http.cors.allow-credentials=true" docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.1
除Docker外,还可通过托管应用或Chrome扩展使用,对应CORS配置中的allow-origin需调整为托管域名或扩展ID。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务