Imports github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/helper/server github.com/elastic/beats/metricbeat/mb github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/common/transport/tlscommon Standard library imports context io/ioutil net net/http strconv