Categories: ELK

How to install ELK on Windows

install elk windows

install elk windowsIn this tutorial we will provide you detailed instructions on how to install ELK (Elasticsearch, Logstash and Kibana) on Windows.

A short introduction about the ELK stack

The ELK is a powerful and versatile stack for collecting, analyzing and exploring data in real time.

The components of the ELK stack are:

Elasticsearch – Search and analyze data in real time.

Logstash – Collect, enrich, and transport data.

Kibana – Explore and visualize data.

Tutorial – How to install ELK on Windows

Step 1 – Install Java 8

This is a mandatory step once both Elasticsearch and Logstash require Java. We are recommending the Java 8 because so far is the most recent stable version.

While a JRE can be used for the Elasticsearch service, due to its use of a client VM (as oppose to a server JVM which offers better performance for long-running applications) its usage is discouraged and a warning will be issued.

Download JDK installer

Access the Java download page (http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html), click on “Accept License Agreement” and then select the option “Windows x64”. So far the newest version is jdk-8u101-windows-x64.exe.

Install JDK

Just execute the JDK installer and follow the wizard instructions.

Step 2 – Create a folder to keep the ELK components grouped

Create a directory “D:\ELK”. This directory will be used to keep all ELK components grouped in the same folder.

Step 3 – Download and configure Elasticsearch 2.3.5

Download Elasticsearch

Download the Elasticsearch ZIPPED package from here: https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/2.3.5/elasticsearch-2.3.5.zip

Extract its content to the “D:\ELK” folder. The result will be “D:\ELK\elasticsearch-2.3.5”.