Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/outputs github.com/elastic/beats/libbeat/outputs/transport Standard library imports bytes encoding/json fmt io io/ioutil net/http net/url strings time