Error making http request

I have issue. I added elastic-agent as fleet server. Also i installed elasticsearch and kibana using docker-compose. Then i wanted to monitor my kubernetes cluster with elastic agent with kubernetes integration in it. What i get from kubernetes cluster overview were running pods and its names. What i wanted to see from dashboard was cpu, memory metrics but i does not shown. From log i have found error message like this.

02:54:21.475

elastic_agent.metricbeat

[elastic_agent.metricbeat][error] Error fetching data for metricset kubernetes.proxy: error getting metrics: error making http request: Get "http://localhost:10249/metrics": dial tcp [::1]:10249: connect: cannot assign requested address

02:54:21.591

elastic_agent.metricbeat

[elastic_agent.metricbeat][error] error making http request: Get "https://clustername:10250/stats/summary": lookup `clustername` on IPv4:53: no such host

02:54:21.753

elastic_agent.metricbeat

[elastic_agent.metricbeat][error] error making http request: Get "https://clustername:10250/stats/summary": lookup clustername IPv4:53: no such host

02:54:21.872

elastic_agent.metricbeat

[elastic_agent.metricbeat][error] error making http request: Get "https://clustername:10250/stats/summary": lookup clustername on IPv4: no such host

02:54:21.872

elastic_agent.metricbeat

[elastic_agent.metricbeat][error] error making http request: Get "https://clustername:10250/stats/summary": lookup clustername on IPv4: no such host

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.