Install golang-github-graylog2-go-gelf-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-graylog2-go-gelf-dev
Description:
GELF library and writer for Go
GELF is graylog2's UDP logging format. This library provides an API that applications can use to log messages directly to a graylog2 server, along with an io.Writer that can be use to redirect the standard library's log messages (or os.Stdout), to a graylog2 server. . This package contains the source.
Homepage: https://github.com/Graylog2/go-gelf
Version: 0.0~git20160329.0.76d60fc-1
Section: universe/devel