elasticsearch-head
elasticsearch-head是一个可视化的elasticsearch的集群管理工具。
安装环境
1.下载并安装node
https://nodejs.org/en/download/
2.安装grunt
npm install -g grunt-cli
grunt -version
3.安装head插件
- 下载插件
https://github.com/mobz/elasticsearch-head - 安装
解压后进入head文件夹下,执行命令:
npm config set registry https://registry.npm.taobao.org
npm install
- 启动head插件
npm run start
连接ES
1.修改es目录下config\elasticsearch.yml配置
# 增加新的参数,这样head插件可以访问es
http.cors.enabled: true
http.cors.allow-origin: "*"
2.head连接es
启动es,点击连接按钮。