Introductory tutorial to Elasticsearch and Kibana
Since both ElasticSearch and Kibana is written in Java, its mandatory to have the current JDK installed. If not, go to this page and install the latest JDK.
.zip
packages for elasticsearch and kibana from the following links:
C:\Users\ashis\Downloads\elasticsearch-7.9.2-windows-x86_64
C:\Users\ashis\Downloads\kibana-7.9.2-windows-x86_64
Since both tools need JDK to run, we need to verify if the JAVA_HOME
path is set correctly. For this follow these steps:
env
and click the Edit the System Environment Variables
.Environment Variables
option.JAVA_HOME
is set to something like this: C:\Program Files\java\jdk*
. The one highlighted in blue is the path for JAVA_HOME
:JAVA_HOME
isn’t setup, follow these setps:
C:\Program Files\Java\jdk1.8.0_261
(depending on the version of Java installed in your system)Environment Variables
window, click New
for System Variables
Variable name
write JAVA_HOME
Variable value
paste the JDK path that you’ve copiedOpen the command-prompt (type cmd
in the search bar and click enter) and navigate to the folder where you unzipped elasticsearch
.
Run bin\elasticsearch.bat
Elasticsearch will start on that cmd.
Note: If you wish to explicitly define the cluster and node names, please use the following command:
bin\elasticsearch.bat -Ecluster.name=my_cluster -Enode.name=my_node
cmd
turns to this:Open another command-prompt and navigate to the folder where you unzipped kibana
.
Run bin\kibana.bat
When cmd
turns to this:
Now everything is installed, goto this page for experimentation.