Metricbeat issue

Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://localhost:5601/api/status fails: fail to execute the HTTP GET request: Get "https://localhost:5601/api/status": dial tcp [::1]:5601: connectex: No connection could be made because the target machine actively refused it.. Response: .

hi @raj_mouriya , looks like Metricbeat is not able to access Kibana, can you check if the endpoint https://localhost:5601/ is up and running?

yes https://localhost:5601/ is up and running

2021-07-18T19:44:39.968+0530 ERROR instance/beat.go:989 Exiting: error connecting to Kibana: can not convert 'object' into 'string' accessing 'setup.kibana.host' (source:'metricbeat.yml')
Exiting: error connecting to Kibana: can not convert 'object' into 'string' accessing 'setup.kibana.host' (source:'metricbeat.yml')