Elastic and Kibana Install (Windows)

This guide walks through the steps to set up a single node Elasticsearch cluster and an instance of Kibana. It should take around 2 hours to complete the Elastic and Kibana install.

If you are setting up a production environment, you will want to set up an Elasticsearch cluster. More information on this can be found on the ElasticSearch website.

The Elastic token needed to configure Kibana is only valid for 30 minutes. Once Elastic has been extracted you have 30 minutes to Install and Configure Kibana. 
It is not a long process but it's important you have that time to complete these steps.

Prerequisites


Folder Structure Set Up

A specific folder structure is needed for the installation of Elasticsearch and Kibana. You can create this structure using a PowerShell query or manually.

PowerShell

mkdir C:\Apps;
mkdir C:\InsightEngine;
mkdir C:\Downloads;
mkdir C:\Utils
Manual

In your chosen file location create 4 folders.


Download Software


Extract Software

The Elastic, Kibana, nssm and InsightEngine zip files need to be extracted.

PowerShell

Manual

ElasticSearch -

Kibana -

nssm -

Insight Engine -


Elastic Configuration


Install Elastic

PowerShell Hint

Your PowerShell will continue to auto scroll down as the process remains running. If you select and highlight a section of the prompt window the auto scroll will stop. This will make it easier to find your password and token.

Elastic needs to be installed as a service and this can be done with a PowerShell script.

  • Do not close the PowerShell when this script has finished.

Do not close this PowerShell yet.


Install Kibana

Do not close this PowerShell yet.


Update Elastic License


Create Elastic Certificate


Copy Certificates

You need to create a new certs folder and copy the certs to that folder.


Secure Connection Configuration

This updates a number of configurations need to add Xpack security. This improves the security between Kibana and Elastic.


Elastic Keystore Setup

The certificate password is used in a number of places and needs to be updated to match the certificate password you just set.


Kibana SSL Configuration


Install Elastic Service


Install Kibana Service

Last updated