I'm trying out Metricbeat, and attempting to get some data from the Docker module. I've got the thing configured (just the bare minimum so far, with the "container" metricset), and I've run into some difficulty in specifying the host. Currently, my config looks like this:
- module: docker metricsets: - container hosts: ["npipe://./pipe/docker_engine"] enabled: true period: 30s
While this configuration passes -configtest (several other attempts didn't), it doesn't actually work. The error message I get is this:
Get http://unix.sock/containers/json?: open /pipe/docker_engine: The system cannot find the path specified.
This error message doesn't give me a lot of confidence that Metricbeat is attempting to connect to Docker correctly. Is there some other way I should be specifying the host?