In this post we will be Installing and Configuring Elasticsearch and Kibana version 7.5 on a Windows Server 2019 Standard edition.
NSSM – the Non-Sucking Service Manager: https://nssm.cc/download
Just install using default settings.
Hint: I had issues installing Elasticsearch when using dynamic memory in Hyper-V. Changing this to fixed amount of memory solved this issue.
- Download .zip and extract to default folder
- Rename folder to Kibana-7.5.0
- Move folder to final location. f.ex: C:\Program Files\Elastic\Kibana-7.5.0
I used default settings in this post. But if you want to customize your Kibana installation, you can do it in this file: C:\Program Files\Elastic\kibana-7.5.0\config\kibana.yml.
These are the common settings to change:
- server.host: “localhost”
- server.port: 5601
- server.name: “your-hostname”
- elasticsearch.hosts: [“http://localhost:9200”]
Setup Kibana as a Service
To get Kibana running as a Windows service – we will use a little tool called NSSM (the Non-Sucking Service Manager).
- Open a Command Prompt
- Run: cd C:\Users\Administrator\Downloads\nssm-2.24\win64
- Run: nssm install Kibana
- Select kibana.bat file in C:\Program Files\Elastic\kibana-7.5.0\bin
- Run: nssm start kibana
Goto: http://localhost:5601 and check that Kibana is up and running.
And that it!. Installing and Configuring Elasticsearch and Kibana is a simple task that can be done in less than 30 mins.