{"id":19366177,"url":"https://github.com/rcny/docker-events-forwarder-gelf","last_synced_at":"2025-04-23T14:31:32.298Z","repository":{"id":236286217,"uuid":"172784744","full_name":"rcny/docker-events-forwarder-gelf","owner":"rcny","description":"Send Docker events as GELF messages","archived":false,"fork":false,"pushed_at":"2020-07-28T08:41:37.000Z","size":7,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T16:11:10.265Z","etag":null,"topics":["docker","gelf","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/rcny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-02-26T20:24:17.000Z","updated_at":"2024-04-26T11:32:36.000Z","dependencies_parsed_at":"2024-04-26T12:56:32.214Z","dependency_job_id":null,"html_url":"https://github.com/rcny/docker-events-forwarder-gelf","commit_stats":null,"previous_names":["rcny/docker-events-forwarder-gelf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcny%2Fdocker-events-forwarder-gelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcny%2Fdocker-events-forwarder-gelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcny%2Fdocker-events-forwarder-gelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcny%2Fdocker-events-forwarder-gelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcny","download_url":"https://codeload.github.com/rcny/docker-events-forwarder-gelf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250451747,"owners_count":21432885,"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":["docker","gelf","ruby"],"created_at":"2024-11-10T07:43:30.451Z","updated_at":"2025-04-23T14:31:32.028Z","avatar_url":"https://github.com/rcny.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-events-forwarder-gelf\n==========\n\nThis is small container-based utility which performs as an Docker events listener and sender to remote GELF inputs. It grabs arriving events as-is via the local UNIX socket and forwards them to remote endpoints.\n\n### Configuration\n\nAll configuration is performed via environment variables:\n\n```\nHOST=\u003caddress of the gelf input\u003e\nPORT=\u003cport of the gelf input\u003e\nPROTO=\u003cmessage transport. can be tcp or udp\u003e\nCHUNK_SIZE=\u003cudp chunk sizing type. can be lan or wan\u003e\n```\n\nYou also have to set `HOST_HOSTNAME` variable or mount host's `/etc/hostname` as `/etc/host-hostname` inside the application container to get correct `source` field for your GELF message. Without that, you will be left with truncated container ID as message's `source`.\n\nCurrently forwarder simply connects to `unix:///var/run/docker.sock` and has no ability for Docker host configuration and authentication.\n\n### Example usage\n\nRun directly with Docker CLI:\n\n`docker run -d -e HOST=foo.bar -e PORT=1337 -e PROTO=udp -e CHUNK_SIZE=lan -v /etc/hostname:/etc/host-hostname:ro -v /var/run/docker.sock:/var/run/docker.sock:ro --restart unless-stopped rcny/docker-events-forwarder-gelf`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcny%2Fdocker-events-forwarder-gelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcny%2Fdocker-events-forwarder-gelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcny%2Fdocker-events-forwarder-gelf/lists"}