安装Elasticsearch数据可视化工具Dejavu

1、先修改Elasticsearch配置文件,增加如下配置

http.cors.allow-origin: "*"
http.cors.enabled: true
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
http.cors.allow-credentials: true

2、安装Docker

用一键安装

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

curl -sSL https://get.daocloud.io/docker | sh

3、启动Docker

systemctl start docker.service

 4、安装dejavu镜像

docker run -p 1358:1358 -d appbaseio/dejavu

5、在浏览器中访问

http://x.x.x.x:1358/

输入Elasticsearch的IP端口和索引名称

 
原文地址:https://www.cnblogs.com/kgdxpr/p/13266090.html