Imports github.com/elastic/beats/libbeat/outputs/mode github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/outputs Standard library imports expvar bytes crypto/tls encoding/json errors fmt io io/ioutil math/rand net net/http net/url strconv strings sync/atomic time