Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/processors github.com/elastic/beats/metricbeat/schema/mapstriface github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/schema Standard library imports bytes context encoding/json fmt io/ioutil net net/http time