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