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