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