Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/pkg/errors github.com/joeshaw/multierror Standard library imports encoding/json fmt io io/ioutil net/http net/url strings