{"id":19078819,"url":"https://github.com/bshuster-repo/logruzio","last_synced_at":"2025-07-30T23:37:56.430Z","repository":{"id":144200881,"uuid":"72997887","full_name":"bshuster-repo/logruzio","owner":"bshuster-repo","description":":information_source: Logzio hook for Logrus","archived":false,"fork":false,"pushed_at":"2018-05-22T12:33:07.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T05:28:27.358Z","etag":null,"topics":["golang","hooks","logrus","logstash","logzio"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bshuster-repo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-06T14:58:51.000Z","updated_at":"2022-04-22T22:10:54.000Z","dependencies_parsed_at":"2023-06-18T10:30:31.232Z","dependency_job_id":null,"html_url":"https://github.com/bshuster-repo/logruzio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bshuster-repo/logruzio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshuster-repo%2Flogruzio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshuster-repo%2Flogruzio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshuster-repo%2Flogruzio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshuster-repo%2Flogruzio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bshuster-repo","download_url":"https://codeload.github.com/bshuster-repo/logruzio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bshuster-repo%2Flogruzio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267960983,"owners_count":24172513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","hooks","logrus","logstash","logzio"],"created_at":"2024-11-09T02:12:08.944Z","updated_at":"2025-07-30T23:37:56.397Z","avatar_url":"https://github.com/bshuster-repo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logzio hook for Logrus \u003cimg src=\"http://i.imgur.com/hTeVwmJ.png\" width=\"40\" height=\"40\" alt=\":walrus:\" class=\"emoji\" title=\":walrus:\" /\u003e\nSend Logrus logs to Logzio\n\n## Getting Started\n\n### Get Logzio token\n1. Go to Logzio website\n2. Sign in with your Logzio account\n3. Click the top menu gear icon (Account)\n4. The Logzio token is given in the account page\n\n### Initialize Logzio hook\n```go\npackage yourpackagename\n\nimport (\n        \"github.com/sirupsen/logrus\"\n        \"github.com/bshuster-repo/logruzio\"\n)\n\nconst LOGZIO_TOKEN = \"fjdhslGJHSDHG23edg\"\n\nfunc main() {\n        ctx := logrus.Fields{\n                \"ID\": \"12adebacd8\",\n                \"Version\": \"1.0.0-dev\",\n        }\n        hook, err := logruzio.New(LOGZIO_TOKEN, \"YourAppName\", ctx)\n        if err != nil {\n                logrus.Fatal(err)\n        }\n        logrus.AddHook(hook)\n        logrus.Info(\"Lets go!\")\n}\n```\n\n**NOTE**: Set `LOGZIO_TOKEN` to the Logzio token as mentioned in `Get Logzio token`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbshuster-repo%2Flogruzio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbshuster-repo%2Flogruzio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbshuster-repo%2Flogruzio/lists"}