Imports github.com/elastic/beats/metricbeat/helper/server github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb github.com/pkg/errors Standard library imports bufio fmt net