安装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端口和索引名称

 
posted @ 2020-07-08 11:46  缤纷世界  阅读(1628)  评论(0编辑  收藏  举报