Elasticsearch + Elasticsearch-head + Kibana Attire (Windows)
1. Elasticsearch installation and configuration
1.1, installation
Official website address: https://www.elastic.co/cn/
Download: https://www.elastic.co/cn/downloads/elasticsearch
Directory structure after decompression:
1.2, configuration cross-domain issues
Append after the file config\elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
1.3, start
Double-click to execute: bin\elasticsearch.bat
browser access:
2. Install the client management tool Elasticsearch-head
github address: https://github.com/mobz/elasticsearch-head
Remarks: npm environment needs to be prepared in advance
git clone and start
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start
open http://localhost:9100/
After startup interface
3. Install the visualization platform Kibana
3.1, download
Government network: link https://www.elastic.co/cn/kibana
Note: Pay attention to the issue of version consistency
Directory structure after decompression
3.2 Sinicization
Editing config \ kibana.yml
i18n.locale: "zh-CN"
3.3, start
Commonly used functions
Special thanks: Mad God Says Java Meet Mad God Says