Small sumologic payload sender client
$ go get github.com/ushios/sumoll
client := NewHTTPSourceClient("http://collectors.au.sumologic.com/receiver/v1/http/...")
client.Send(strings.NewReader("your message here."))
There's a test actually injecting data to sumologic. In order that to run, you need to set the env variable
SUMOLL_TEST_HTTP_SOURCE_URL
like this:
SUMOLL_TEST_HTTP_SOURCE_URL="https://collectors.eu.sumologic.com/receiver/v1/http/randomCollectorURL" go test --count=1 . -v