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