kibana server is not ready yet centos 8
//First solution
curl --request DELETE 'https://elastic-search-host:9200/.kibana*'
sudo systemctl restart elasticsearch.service
sudo systemctl restart kibana.service
//Second solution
//edit this file: /etc/elasticsearch/elasticsearch.yml
//uncomment: #network.host: localhost
//edit this file: /etc/kibana/kibana.yml
//uncomment: #elasticsearch.hosts: ["http://localhost:9200"]
//restart elascticsearch and kibana service
sudo systemctl restart elasticsearch.service
sudo systemctl restart kibana.service