First, the Elk platform construction under the Windows environment
1. Installing the configuration Java environment
Get the latest version of the Java version on the Oracle website, so you can download only the JRE because it's not a development. Official website: http://www.oracle.com/
2. Installing Elk
Because the Logstash service relies on the ES service, the Kibana service relies on Logstash and ES, so Elk's service boot order is: Es->logstash->kibana, in order to match the service boot order, our installation order and boot order remain the same.
Extract three compressed packages into the same directory, the absolute path of the directory is best not to appear in Chinese characters and spaces.
Second, install Elasticsearch under Windows
1. installation and start-up method (1)
Go to D:\softwares_diy\elasticsearch-2.3.3\bin directory, double click to execute elasticsearch.bat
If you want to stop, CTRL + C
2. installation Method (2)
Enter the D:\softwares_diy\elasticsearch-2.3.3\bin directory and execute
service install start
To stop the Elasticsearch service, execute service stop to turn off Elasticsearch.
stop
3. Install the head plugin
Install the head plugin to manage and monitor the status of the cluster on the Web page.
(1) Open the CMD Command Line window of Windows, enter D:\softwares_diy\elasticsearch-2.3.3\bin, execute
d: cd softwares_diy\elasticsearch-2.3.3\bin plugin install mobz/elasticsearch-head
Explore http://localhost:9200/_plugin/head/
(2) Plug-in installation method 2:1.https://github.com/mobz/elasticsearch-head download Zip decompression 2. Build Elasticsearch-1.0.0\plugins\head \_site file 3. Copy the files under the extracted Elasticsearch-head-master folder to _site 4. Run ES 5. Open Http://localhost:9200/ _plugin/head/
Third, installation Logstash
Construction of Elk platform under Windows environment