Hi @shahid,
I see a request timeout in the error message. Can you check that Kibana is running and accessible from the host that is running Metricbeat?
The easiest way to check this would be to run the following command from the host that is running Metricbeat:
curl -v http://localhost:5601
This assumes that Kibana is running on the same host as Metricbeat, which is the default setting. If your Kibana is actually running on a different host, then some additional configuration will be needed in your metricbeat.yml
file. See https://www.elastic.co/guide/en/beats/metricbeat/current/setup-kibana-endpoint.html.
Hope that helps,
Shaunak