{"id":44539410,"url":"https://github.com/xentek/logbeat","last_synced_at":"2026-02-13T18:55:53.302Z","repository":{"id":57586529,"uuid":"107302915","full_name":"xentek/logbeat","owner":"xentek","description":"Logbeat is a Logrus Hook to report errors to Opbeat","archived":false,"fork":false,"pushed_at":"2017-11-08T19:37:16.000Z","size":27,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T18:26:36.057Z","etag":null,"topics":["go","golang","logging","logrus","logrus-hook","opbeat"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/xentek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-17T17:39:08.000Z","updated_at":"2018-10-20T13:29:52.000Z","dependencies_parsed_at":"2022-09-13T12:40:42.796Z","dependency_job_id":null,"html_url":"https://github.com/xentek/logbeat","commit_stats":null,"previous_names":["macandmia/logbeat"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/xentek/logbeat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Flogbeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Flogbeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Flogbeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Flogbeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xentek","download_url":"https://codeload.github.com/xentek/logbeat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xentek%2Flogbeat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","logging","logrus","logrus-hook","opbeat"],"created_at":"2026-02-13T18:55:52.219Z","updated_at":"2026-02-13T18:55:53.287Z","avatar_url":"https://github.com/xentek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logbeat [![Build Status](https://travis-ci.org/xentek/logbeat.svg?branch=master)](https://travis-ci.org/xentek/logbeat) [![GoDoc](https://godoc.org/github.com/xentek/logbeat?status.svg)](https://godoc.org/github.com/xentek/logbeat) [![Go Report Card](https://goreportcard.com/badge/github.com/xentek/logbeat)](https://goreportcard.com/report/github.com/xentek/logbeat) [![Coverage Status](https://coveralls.io/repos/github/xentek/logbeat/badge.svg)](https://coveralls.io/github/xentek/logbeat) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/xentek/logbeat/blob/master/LICENSE)\n\n`logbeat` is a [Logrus](https://github.com/sirupsen/logrus) Hook to report errors to [Opbeat](https://opbeat.com/).\n\n---\n\n## Install\n\n    go get https://github.com/xentek/logbeat\n\n## Import\n\n    import \"github.com/xentek/logbeat\"\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"os\"\n\n    log \"github.com/sirupsen/logrus\"\n    logbeat \"github.com/xentek/logbeat\"\n)\n\nfunc init() {\n    orgId := os.Getenv(\"OPBEAT_ORGANIZATION_ID\")\n    appId := os.Getenv(\"OPBEAT_APP_ID\")\n    token := os.Getenv(\"OPBEAT_SECRET_TOKEN\")\n    log.AddHook(logbeat.NewOpbeatHook(orgId, appId, token))\n}\n\nfunc main() {\n    log.WithField(\"notify\", \"opbeat\").Error(\"This error will be sent to Opbeat\")\n}\n```\n\n## Contributing\n\nRefer to our [Contributor's Guide](CONTRIBUTING.md) to learn how you can participate in this project.\n\n## More Info\n\n  - [GoDoc](https://godoc.org/github.com/xentek/logbeat)\n  - [Wiki](https://github.com/xentek/logbeat/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxentek%2Flogbeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxentek%2Flogbeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxentek%2Flogbeat/lists"}