Complete Guide to Install Elasticsearch and Kibana on Windows

In this article, I will provide a detailed, step-by-step guide on setting up Elasticsearch and Kibana on a Windows system. We'll begin by downloading the necessary files, and then proceed to installation and configuration on your local machine.

What is Elastic search?

Elasticsearch is an open-source, distributed search engine that helps in searching large-scale data, data visualization, security, logging, and monitoring. Elasticsearch is widely used in large-scale applications like e-commerce website search engines, store log data and event data analysis, and more. Elasticsearch provides a wide range of features, like full-text search, schema-free storage of structured and unstructured data, aggregation, and analytics.

What is kibana?

Kibana is an open-source data visualization tool that is used to analyze large volumes of data in real-time applications. It provides a wide range of features, like data visualization, searching capability based on elastic, dashboarding, and data transformation. It is easy to integrate with Elasticsearch, which helps to leverage powerful search, and Elasticsearch analytics provides quick data exploration to their users.

How to install Elasticsearch and Kibana on a Windows machine?


1. Find elastic search search from Google using the below keywords

Find elastic search

2. Download Elasticsearch from this URL: Click here to download elasticsearch

Download Elasticsearch

3. Select Windows from the platform dropdown.

Select Windows

4. Click on the Windows button to download the Elasticsearch setup.

 Windows button

5. The Elasticsearch set-up will be downloaded in a zip folder.

Elasticsearch set-up

6. Extract all files from the downloaded zip folder.

 Extract all files

7. Click on the bin folder and click on the elastic search bat file.

Bin folder

8. If you get a screen like the above, then please click on More Info and then click on the Run button.

Run button

9. Once you click on the Run anyway button, the elastic search setup will start, and you will see the below screen.

 Run anyway button

10. We are done with the elastic search setup on the local machine, and it is running now. On the above screen, we have some useful information that will be required for kibana and elastic configuration.

There are three items we need to keep in mind.

  • User Name: elastic
  • Password: Yellow highlighted in the above snippet
  • Enrollment Token:Yellow is highlighted in the above snippet, which will be valid for the next 30 minutes from the Elastic search run.

11. Download Kibana from URL: Click here to download kibana

 Download Kibana

12. Click on the Windows Button to download Kibana Setup.

 Kibana Setup

13. Once you get zip files from the download, extract the Kibana setup and keep it in the same place where we kept the elastic search setup.

 Get zip files

14. Click on the Kibana bat file to start the Kibana setup and wait for some time to complete the execution of the bat file.

Kibana bat file

15. Once execution is done, you will get a localhost URL where you can access Kibana on your local machine.

 localhost URL

16. Once you open the URL in your browser, you will get the above screen, where you have to enter the "enrollment token" which we have marked in step no. 8 that we have to enter in the above screen.

Enrollment token

17. Click on the Configure Elastic button after the enrollment token is entered.

Note. This enrollment token is valid only for the next 30 minutes. If you get a token invalid error, then you need to re-generate the enrollment token using this command from your command point.

  • Make sure your elastic search is running on your system, then run the below command.
  • Go to the bin folder of your elasticsearch set-up folder, then run "elasticsearch-create-enrollment-token --scope kibana." Configure Elastic button

18. Once you click on the Configure Elasticsearch button, you will see a screen below with the status of the configuration.


19. Once the configuration is done, you need to enter your username and password to login to Kiban and Elasticsearch.

Configuration is done

20. Once you log in to Elasticsearch, you will be able to see the home page of Elasticsearch.

 log in to Elasticsearch

21. Once you click on "Explore on my own," it will land you on the Elasticsearch home page as below.

Explore on my own

22. You can explore more on an Elasticsearch dashboard, as shown below. You can use the Create dashboard button to create a custom dashboard and data visualization. By using Dev Tools, you can create an elastic index and perform CRUD operations (create, read, update, delete). I am planning to write the next article on CRUD operations in Elasticsearch.

Elasticsearch dashboard


In this article, we have learned how to set up Elasticsearch and Kibana by following the above 20 steps. Elasticsearch and Kibana have been installed on the local machine and are now up and running. I hope this article will help you set up Elasticsearch and Kibana on your Windows machine. Thank you so much for reading. If you wish to read more articles, please refer to my article at this URL: Click Here

You can find my other articles on here.

  1. Getting Started With Elastic In Using .NET Nest Client
  2. CRUD Operation using Elastic Search And .Net Core API

Similar Articles