go-gelf
go-gelf copied to clipboard
GELF library for Go
JSON loggers will put their fields to "extra" thats makes log structured and clear as it conceived in Graylog [PR](https://github.com/Graylog2/go-gelf/pull/41) -- thats uses existing function UnmarshalJSON and works for me...
## Notes for Reviewers - [x] The commit history must be preserved - please use the rebase-merge or standard merge option instead of squash-merge - [x] Sync up with the...
Allow to close Reader, increase coverage, move chunk/magic constant into separate file
This fixes #37 Trimspace causes number of bytes wirtten to be not equal to number of bytes requested to write - this causes an error in multiwriter Happy to help...
Hello, It would be very nice to have support for TLS TCP inputs. I'm not sure what the status of the `tls` branch is.
I'm using it go-gelf with zerolog and for aly log message i'm getting short write with some debugging i've figured out that the issue is in `func (w *Writer) Write(p...
Currently, the OS host-name is set by the gelf library. There should be an option to set Hostname by user whenever it is required. I have made changes in the...
Line 146 in message.go (v2.0 branch) is currently: ` TimeUnix: float64(time.Now().Unix()),` Unix time is in ***seconds*** since 1.1.1970, thus, log entries in Graylog get the milliseconds truncated. ` TimeUnix: float64(time.Now().UnixNano())...
I recently started using v2 of this package and noticed the `To Do` section in the README. I created an example [here](https://gist.github.com/mitchya1/28dc9d4a411c1eececa20fe4a7a51cee) of using the `WriteMessage` function. I've verified this...