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