Imports github.com/pkg/errors Imports in module “github.com/elastic/beats/v7” github.com/elastic/beats/v7/libbeat/common/transport/httpcommon github.com/elastic/beats/v7/metricbeat/helper/dialer github.com/elastic/beats/v7/metricbeat/mb Standard library imports bufio bytes encoding/json fmt io io/ioutil net/http time