Imports github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/outputs/elasticsearch github.com/gofrs/uuid github.com/pkg/errors Standard library imports encoding/json fmt math/rand net/http strconv strings time