ElasticSearch-head 安裝使用

安裝 head 可視化工具

elasticsearch-head 是一款用於 elasticsearch 的客戶端工具。安裝前須要先安裝 node.js 和 npm。node

項目地址:https://github.com/mobz/elast...git

git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
cnpm install
npm run start

安裝成功後訪問 http://localhost:9100/ 便可查看到 ES 的相關信息。github

集羣健康值的狀態

綠色,最健康的狀態,表明全部的分片包括備份均可用;npm

黃色,基本的分片可用,可是備份不可用(也多是沒有備份);elasticsearch

紅色,部分的分片可用,代表分片有一部分損壞。此時執行查詢部分數據仍能夠查到;工具

灰色,未鏈接到elasticsearch服務。code

head 的主要功能

  • 查看集羣狀態
  • 查看索引信息
  • 建立索引
  • 開關索引
  • 查看索引、類型、字段、數據信息
  • 執行基本查詢
  • 執行復合查詢(增刪改等)
相關文章
相關標籤/搜索