This tutorials explains about how to install Elastic search on Windows machine.

This can be installed in two ways.

  • Install using Zip file
  • Install as window Service

This is developed using java language, So java installation is prerequisite.

Kibana Elastic Search installation on windows

Following are step by step for installation on windows.

  • First, Go to here
  • Download installer that is zip file
  • It downloads elasticsearch-8.6.1-windows-x86_64.zip file into local folder
  • Extract and copy to Drive folder, For example, A:\Java\elasticsearch-8.6.1

How do I start Elasticsearch on Windows?

To install Elasticsearch on Windows, Please follow below steps.

  • First download zip file from elastic website
  • Unzip downloaded file into local folder
  • Go to Directory, Run following command
elasticsearch.bat
A:\Java\elasticsearch-8.6.1\bin>elasticsearch.bat
warning: ignoring JAVA_HOME=A:\Java\jdk1.8.0; using bundled JDK
[2023-02-12T19:30:28,100][INFO ][o.e.n.Node               ] [KIRAN] version[8.6.1], pid[16264], build[zip/180c9830da956993e59e2cd70eb32b5e383ea42c/2023-01-24T21:35:11.506992272Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/19.0.1/19.0.1+10-21]
[2023-02-12T19:30:28,130][INFO ][o.e.n.Node               ] [KIRAN] JVM home [A:\Java\elasticsearch-8.6.1\jdk], using bundled JDK [true]
[2023-02-12T19:30:28,130][INFO ][o.e.n.Node               ] [KIRAN] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\Kiran\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms8111m, -Xmx8111m, -XX:MaxDirectMemorySize=4253024256, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=zip, --module-path=A:\Java\elasticsearch-8.6.1\lib, --add-modules=jdk.net, -Djdk.module.main=org.elasticsearch.server]