Go-Splunk-HTTP icon indicating copy to clipboard operation
Go-Splunk-HTTP copied to clipboard

A simple and lightweight HTTP Splunk logging package for Go. Instantiates a client to your Splunk server and allows you to submit log events as desired.

Results 3 Go-Splunk-HTTP issues
Sort by recently updated
recently updated
newest added

This should be an easy one, while looking into the code i found that NewEventWithTime ignores the provided time and instead also uses time.now https://github.com/ZachtimusPrime/Go-Splunk-HTTP/blob/master/splunk/v2/splunk.go#L95 PR here: https://github.com/ZachtimusPrime/Go-Splunk-HTTP/pull/20

- move `go.mod` to root - move `./splunk/v2` to `./v2` - update `go.mod` to reflect the change of path for the module so that specific release tags don't have to...

enhancement

If you are moving a high volume of messages to splunk, the doRequest (splunk/splunk.go) function is not properly closing the http request and you quickly run out of file descriptors....