{"id":18260107,"url":"https://github.com/roppa/bunyan-graylog-node","last_synced_at":"2025-08-04T10:33:27.834Z","repository":{"id":146092585,"uuid":"105366683","full_name":"roppa/bunyan-graylog-node","owner":"roppa","description":"A research docker compose app with Graylog, Bunyan, Node.js","archived":false,"fork":false,"pushed_at":"2017-09-30T12:08:12.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T18:36:31.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roppa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-09-30T11:54:07.000Z","updated_at":"2021-12-02T16:09:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e62cdce9-7600-4af3-ae0f-d305452e66dc","html_url":"https://github.com/roppa/bunyan-graylog-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fbunyan-graylog-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fbunyan-graylog-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fbunyan-graylog-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roppa%2Fbunyan-graylog-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roppa","download_url":"https://codeload.github.com/roppa/bunyan-graylog-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947825,"owners_count":21023058,"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","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":[],"created_at":"2024-11-05T10:42:06.294Z","updated_at":"2025-04-08T23:44:48.462Z","avatar_url":"https://github.com/roppa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logging to Graylog from Node using Bunyan\n\nRead the [Graylog docker installation docs](http://docs.graylog.org/en/2.3/pages/installation/docker.html) first.\n\nGraylog has dependencies on Mongo and Elasticsearch which I didn't know. Elasticsearch is cool.\n\nBuild the node image with:\n\n```\ndocker build -t bunyan-node .\n```\n\nThen run docker compose up build.\n\nTesting the endpoint using http is easy:\n\n```\ncurl -XPOST http://localhost:12201/gelf -p0 -d '{\"short_message\":\"Hello there\", \"host\":\"example.org\", \"facility\":\"test\", \"_foo\":\"bar\"}'\n```\n\nHowever, as we are using streams you have to set up Graylog to accept UCP streams.\n\nVoila.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froppa%2Fbunyan-graylog-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froppa%2Fbunyan-graylog-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froppa%2Fbunyan-graylog-node/lists"}