Elk Stack Implementation On Windows
Elk Stack Implementation On Windows
Step 1: I have downloaded Logstash, Kibana and ElasticSearch on one Windows server. From
below mentioned website .
http://www.elasticsearch.org/overview/elkdownloads/
Logstash: https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.zip
Kibana: https://download.elasticsearch.org/kibana/kibana/kibana-3.1.0.zip
Elasticsearch: https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch1.2.1.zip
Step 2: Extracted all packages
I created myself a folder called Mathan in c:\Mathan\ and extracted all folders there to make
it easier.
So, for me it looks like this now:
c:\Mathan\elasticsearch
c:\Mathan\kibana
c:\Mathan\logstash
Step 3: Downloaded the JDK version of Java and installed .
Went to the Java website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8downloads-2133151.html
Accept the license and then downloaded : Windows x64 (jdk-8u5-windows-x64.exe) package.
Step 4: I have set the JDK environment variable .
Variable value: C:\Program Files\Java\jdk1.8.0_05
Step 5:Opened a console and went to c:\Mathan\elasticsearch\bin\
typed the following command:
service install
I have changed on the tab the Startup type from Manual to Automatic and then pressed
Apply. This should make Elasticsearch start automatically on server boot.
This is everything to start ElasticSearch automatically on boot. To test that it is working, opened
a browser and went to this url: http ://127.0.0.1:9200/
I have unzipped it and copied the file from the unzipped folder to
C:\Mathan\logstash\bin so it should result in we having C:\Mathan\logstash\bin\nssm.exe.
Now open a Command Prompt and type:
cd C:\Mathan\logstash\bin