Step 1: Download
Download the Kibana package from:
https://www.elastic.co/download/kibana
Please note:
-
For kibana package, we need to download the same version with the ES instance which we want to connect.
e.g.
if we are using es 7.6.2 , we should download the kibana 7.6.2 -
For linux server, we don’t need jdk to startup kibana, it’s written by nodejs…
Step 2: unzip the package and rename
tar -xf kibana-7.6.2-linux-x86_64.tar.gz
mv kibana-7.6.2-linux-x86_64 kibana
Step 3: update the configuration file
cd kibana
vi ./config/kibana.yml
- uncomment server.port: 5601
- uncomment server.host: “localhost” and change it to server.host: “0.0.0.0”, otherwise we cannot connect it from another client/server.
- uncomment and update the es host : elasticsearch.hosts: [“http://xxxxxxx:9200”]
Step 4: startup kibana
nohup ./bin/kibana&
How to get the process id of kibana.
due to kibana is written by nodejs, below command will not work
ps -ef | grep kibana
but we know it’s port number is 5601
so we could use netstat command to get the process id which is using port 5601
netstat -tunlp|grep 5601