elasticsearch-head
懶人模式
如果你嫌修改代碼太麻煩我也做好了chrome插件:
https://github.com/zhaoyunxing92/elasticsearch-head/blob/master/crx/es-head.crx 下載到本地,如果你會chrome插件開發你也可以自己編譯一份使用_site目錄編譯就可以了,manifest.json文件我都寫好了(我的chrome賬戶已經忘記了不然我會上傳到google商店)
安裝流程
在chrome地址欄輸入:chrome://extensions 點開開發者模式
![chrome-extension] (https://gitee.com/sunny9/resource/raw/master/img/chrome-extensions.png)
下載模式安裝
本地創建一個head文件夾,把下載好的es-head.crx解壓到head文件加里面,然後在chrome裏選擇加載已解壓的擴展程序,完事後chrome右邊就會多出一個搜索的icon
自己編譯模式
# clone 代碼
git clone https://github.com/zhaoyunxing92/elasticsearch-head
在chrome裏面選擇打包擴展程序
完事後會在_site平級目錄下多出一個_site.crx文件,拖到chrome裏面就完成了
最終效果圖
如果你的es開啓了x-pack那麼輸入框換成:
http://localhost:9100/?auth_user=elastic&auth_password=es密碼