{"id":53343,"library":"onrik-logrus","title":"Logrus","description":"A logrus hook for sending log entries to Graylog via GELF.","status":"active","version":"0.11.0","language":"go","source_language":null,"source_url":"https://github.com/onrik/logrus","tags":["logging","graylog","gelf","hook"],"install":[{"cmd":"go get github.com/onrik/logrus","lang":"bash","label":"Install github.com/onrik/logrus"}],"dependencies":[],"imports":[{"symbol":"logrus","correct":"github.com/onrik/logrus"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/onrik/logrus\"\n    \"github.com/sirupsen/logrus\"\n)\n\nfunc main() {\n    hook := logrus.NewGraylogHook(\"localhost:12201\", map[string]interface{}{\"app\": \"test\"})\n    logrus.AddHook(hook)\n    logrus.Info(\"Hello Graylog\")\n}","lang":"go","description":"Add a Graylog hook to logrus and send a log entry."},"warnings":[],"env_vars":null,"search_vec":"'entri':8 'gelf':12,15 'graylog':10,14 'hook':4,16 'log':7,13 'logrus':1,3 'send':6 'via':11","created_at":"2026-06-15T07:36:24.815008+00:00","updated_at":"2026-06-15T07:36:24.815008+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/onrik/logrus","github":"https://github.com/onrik/logrus","docs":"https://pkg.go.dev/github.com/onrik/logrus#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-15","next_check":"2026-12-12","install_tag":null}}