If you are doing the setup of Elastic Search and Kibana without Docker then its is very tedious task . Steps are as follows
- Firstly, You have to download the package of Elastic Seach and then Install it. reference : https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html
- Then you have install this package.
- Now as the elastic is running we have to download the kibana.
4. Now comes the tedious task which is configuring the elastic search and kibana because the elastic search is running on the default port 9200 and when you start kibana then it will give you error that elastic server is not found so you have to configure elastic with kibana as given in the article
and it is really a very difficult task specially if you are beginner with ELK stack.
Docker Setup of Elastic and Kibana
pre-requisite : Make sure docker is installed on your system
Once the docker is installed create a file name docker-compose.yml in your system at any location and paste the below configuration. Here, the version of elastic search and kibana i am using is 7.5.2, you can use any compatible version as per you needs.
— “ES_JAVA_OPTS=-Xms512m -Xmx512m”
and just executer the file using : docker-compose up
once both kiban and elastic search is up, you will see message : “Server running at http://0:5601
open the url : http://localhost:5601/ and you kibana and elastic is running fine.