I have enabled metricbeats on a few of our network sensors that are running filebeat. I am able to run metricbeat with the system module without a problem. When I try to run the beat module I start getting errors:
module/wrapper.go:259 Error fetching data for metricset beat.state: error making http request: Get "http://localhost:5066/state": dial tcp 127.0.0.1:5066: connect: connection refused
I have opened the port via 5066 and have enabled the same ssl config stuff that shows up in the metricbeat.yml just in case, but I am pretty stumped at the moment.