Metricbeat not working on Docker desktop for windows

Hi there, my first issue here :smiley:
Im a rookie in ELK, and today I try to use metricbeat to monitor my cpu, ram and etc...
ofc that I work with docker desktop as its in development stage so, therefore I understand that I need to change metricbeat's configuration which I did, I change the host property from:

 hosts: ["unix:///var/run/docker.sock"]

to:

hosts: ["tcp://host.docker.internal:2375"]

Beyond that, unfortunately it didn't work, those are the logs of metricbeat:

Exiting: error in autodiscover provider settings: error setting up docker autodiscover provider: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

as you can see, it tries to connect to unix:///var/run/docker.sock despite that I change it, for double check I also log into the container and see the yml file at /usr/share/metricbeat/metricbeat.yml and it config correctly

thank you very much

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