One. Download elasticsearch-5.1.1
CD D:\bigdata\elasticsearch-5.1.1\bin
Elasticsearch-service.bat
CMD running the service install, will prompt for installation success
Service Manager will pop up the services management interface to set up auto-start and start
The browser accesses the 127.0.0.1:9200, and a successful JSON appears
Program Port is 9300
Two. Installing Elasticsearch-head
Three. Installing logstash-5.1.1
CD to Logstash folder under Bin directory
Create a Run.bat
Logstash.bat agent-f logstash.conf
Download NSSM
Https://nssm.cc/release/nssm-2.24.zip
Unzip the copy Nssm-2.24\win64 directory under Nssm.exe to Logstash Bin directory
CMD run NSSM install Logstash
In the Popup interface set path for the Run.bat,details tab to set the display name, the Dependencies tab sets the dependent service elasticsearch-service-x64
Finally click Install Service installation succeeded
Four. Installing kibana-5.1.1
Copy the Nssm file as before, the installation service path is Kibana.bat, and the dependencies can be set logstash,elasticsearch-service-x64
Optional installation of the reverse proxy software Nginx,iis arr module to shield 5601 ports
http://localhost:5601/
Installing Elk under Windows