Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/outputs/transport github.com/pkg/errors github.com/elastic/go-ucfg/yaml github.com/elastic/beats/libbeat/common/transport/tlscommon Standard library imports bytes encoding/json errors fmt io io/ioutil net/http net/url os path path/filepath regexp strings time