{"id":24433330,"url":"https://github.com/younisshah/gelffy","last_synced_at":"2026-05-20T05:04:31.510Z","repository":{"id":89644804,"uuid":"132738041","full_name":"younisshah/gelffy","owner":"younisshah","description":"A UDP-based GELF log aggregator with Loggly hooks","archived":false,"fork":false,"pushed_at":"2018-05-10T03:51:26.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T20:57:27.306Z","etag":null,"topics":["docker","gelf","log","logging","udp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/younisshah.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,"zenodo":null}},"created_at":"2018-05-09T10:03:40.000Z","updated_at":"2023-03-04T09:55:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0fbb029-5ce0-4e31-a121-f81186ce59e4","html_url":"https://github.com/younisshah/gelffy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/younisshah/gelffy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younisshah%2Fgelffy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younisshah%2Fgelffy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younisshah%2Fgelffy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younisshah%2Fgelffy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/younisshah","download_url":"https://codeload.github.com/younisshah/gelffy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/younisshah%2Fgelffy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274718905,"owners_count":25337236,"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-09-11T02:00:13.660Z","response_time":74,"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":["docker","gelf","log","logging","udp"],"created_at":"2025-01-20T16:34:57.900Z","updated_at":"2026-05-20T05:04:31.468Z","avatar_url":"https://github.com/younisshah.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## gelffy\n\n**gelffy** is a UDP-based GELF ([Greylog Extended Log Format](http://docs.graylog.org/en/2.2/pages/gelf.html)) aggregator with an HTTP POST hook to the LaaS - ([Loggly](https://www.loggly.com)).\n\ngelffy is supposed to be used in the context of Docker. A Docker container (including a *service* in Docker Swarm mode) can configured to do logging using various *[drivers](https://docs.docker.com/config/containers/logging/configure/#supported-logging-drivers)*. Whenever anything\nis written to the *stdout* or *stderr* of a Docker container, the Docker Engine captures the log entries and processes them using the configured driver.\n\n **gelffy** uses **gelf** Docker log driver.\n\n **gelffy** runs on port **12123**.\n\nWhen a Docker container or a Docker Swarm service is configured to use *gelf* as its logging driver with *gelffy* as the endpoint for the GELF log entries,\nthe Docker Engine sends the log entries to the gelffy's UDP endpoint. gelffy processes the log entries and does an HTTP POST to Loggly.\n\n### Pre-requisites\n\n[A Loggly customer token](https://www.loggly.com/docs/logging-setup/)\n\n\n#### Installation and Usage\n\n1) Clone the repository\n```ini\n    git clone https://github.com/younisshah/gelffy.git\n```\n\n2) Change your working directory to *gelffy*\n\n3) Edit the *Dockerfile* and update the value of *LOGGLY_CUSTOMER_TOKEN Env* variable to your Loggly Customer Token.\n\n3) Run\n```ini\ndep ensure\n```\n\n4) Next, run\n```ini\nmake build-bin\n```\n\n5) Then, do a\n```ini\nmake build\n```\n\n6) Finally,\n```ini\nmake run\n```\n\n7) Get the container IP address of *gelffy*\n```ini\ndocker inspect --format '{{ .NetworkSettings.IPAddress }}' gelffy\n```\n\n8) Run your Docker container (or Docker Swarm service) which *gelf* log driver and *gelffy* configured\n```ini\ndocker run -p IN_PORT:OUT_PORT --rm --log-driver=gelf --log-opt gelf-address=udp://GELFFY_CONTAINER_IP_ADDRESS:12123 --log-opt gelf-compression-type=none IMAGE_NAME:TAG\n```\n\nThat's it!\n\nNow all the logs of your Docker container (or Docker Swarm service) will be pushed to gelffy which POSTs to Loggly.\n\n### TODOs\n- [ ] Support additional drivers\n\n\n#### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounisshah%2Fgelffy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyounisshah%2Fgelffy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyounisshah%2Fgelffy/lists"}