abrener5735

Results 2 issues of abrener5735

Preventing the following error from occuring: panic: runtime error: index out of range [0] with length 0 goroutine 25 [running]: github.com/mdsol/logspout-cloudwatch.(*CloudwatchUploader).Start(0xc0002201e0) /go/pkg/mod/github.com/mdsol/[email protected]/uploader.go:55 +0xde7 created by github.com/mdsol/logspout-cloudwatch.NewCloudwatchUploader /go/pkg/mod/github.com/mdsol/[email protected]/uploader.go:47 +0x23f

Changed parsing of URI to use regular expressions so we can easily get the bucket name even if it has dots in the name.