Updating Elasticsearch on Windows

Table of Contents

To update Elasticsearch on Windows:

  1. Download the latest Elasticsearch and Kibana packages from the Elastic website:
  1. Go to Services.
  2. Stop your Elasticsearch service.
  1. Back up your Elasticsearch and Kibana folders in case something goes wrong.
  2. Open the folders with 7-Zip.
  1. Go to your Elasticsearch installation folder and delete all folders except the “data” and “config” folders.
  1. From the Elasticsearch zip file, extract and copy every folder except the “config” folder into your Elasticsearch installation folder.
  1. Extract.
  2. Do the same with the Kibana zip file and installation folder. However, make sure you do not extract the “data” or “config” folders.
  1. Go to Services.
  2. Start your Elasticsearch service.

  1. Go to https://localhost:9200.
  2. Select Advanced.

  1. Select Continue to localhost.

  1. Log in using the Elastic superuser account.

  1. After logging in, check the displayed information to confirm that you have the latest stable version of Elastic installed.

You will see your current Elasticsearch here.

  1. Now, open the Command Prompt.
  2. Go to the Kibana bin folder.

  1. Run kibana.bat.

  1. After the message "Kibana is now available (was degraded)" appears, go to http://localhost:5601.
  2. Log in using the Elastic superuser account.

  1. To check the version, select the icon shown below in the upper-right corner.

  1. Press CTRL+C inside the Command Prompt window to stop Kibana.

  1. Select Y to terminate the batch job.

If both versions match, your Elasticsearch update is complete.

Was this article helpful?

Please, contact us if you have any additional questions.