{"id":68935,"library":"graylog2-go-gelf-v2","title":"Go GELF Library","description":"Go-gelf implements the Graylog Extended Log Format (GELF) for sending log messages to Graylog servers.","status":"active","version":"2.0.0-20191017102106-1550ee647df0","language":"go","source_language":null,"source_url":"https://github.com/Graylog2/go-gelf","tags":["logging","graylog","gelf"],"install":[{"cmd":"go get gopkg.in/Graylog2/go-gelf.v2","lang":"bash","label":"Install gopkg.in/Graylog2/go-gelf.v2"}],"dependencies":[],"imports":[{"symbol":"gelf","correct":"gopkg.in/Graylog2/go-gelf.v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"gopkg.in/Graylog2/go-gelf.v2\"\n)\n\nfunc main() {\n\twriter, err := gelf.NewWriter(\"localhost:12201\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\twriter.WriteMessage(&gelf.Message{\n\t\tShort: \"Hello\",\n\t\tHost:  \"localhost\",\n\t})\n}","lang":"go","description":"Sends a GELF message to a Graylog server."},"warnings":[],"env_vars":null,"search_vec":"'extend':10 'format':12 'gelf':2,6,13,23 'go':1,5 'go-gelf':4 'graylog':9,19,22 'implement':7 'librari':3 'log':11,16,21 'messag':17 'send':15 'server':20","created_at":"2026-06-17T17:55:34.762592+00:00","updated_at":"2026-06-17T17:55:34.762592+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Graylog2/go-gelf","github":"https://github.com/Graylog2/go-gelf","docs":"https://pkg.go.dev/gopkg.in/Graylog2/go-gelf.v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}