Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/outputs/mode github.com/elastic/beats/libbeat/outputs Standard library imports bytes crypto/tls encoding/binary encoding/json errors fmt io math/rand net strings time compress/zlib