{"id":36707664,"url":"https://github.com/icha024/go-collect-logs","last_synced_at":"2026-01-12T11:44:12.789Z","repository":{"id":57619072,"uuid":"94892519","full_name":"icha024/go-collect-logs","owner":"icha024","description":"Lightweight tool to collect remote syslogs in-memory and display on web console","archived":false,"fork":false,"pushed_at":"2017-08-22T22:01:23.000Z","size":148,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T14:30:16.343Z","etag":null,"topics":["collect","golang","syslog","web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icha024.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}},"created_at":"2017-06-20T13:10:13.000Z","updated_at":"2023-09-21T09:26:52.000Z","dependencies_parsed_at":"2022-09-14T12:41:23.470Z","dependency_job_id":null,"html_url":"https://github.com/icha024/go-collect-logs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icha024/go-collect-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fgo-collect-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fgo-collect-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fgo-collect-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fgo-collect-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icha024","download_url":"https://codeload.github.com/icha024/go-collect-logs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fgo-collect-logs/sbom","scorecard":{"id":480229,"data":{"date":"2025-08-11","repo":{"name":"github.com/icha024/go-collect-logs","commit":"e2521ae092cb3c13f9398c04fb74c96e8f21a9ef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Eclipse Public License 1.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang:1.8 to golang:1.8@sha256:f0b5dab7581eddb49dabd1d1b9aa505ca3edcdf79a66395b5bfa4f3c036b49ef","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-19T16:24:56.657Z","repository_id":57619072,"created_at":"2025-08-19T16:24:56.658Z","updated_at":"2025-08-19T16:24:56.658Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"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":["collect","golang","syslog","web"],"created_at":"2026-01-12T11:44:12.665Z","updated_at":"2026-01-12T11:44:12.777Z","avatar_url":"https://github.com/icha024.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Collect Logs\n\nLightweight tool to collect syslogs (RFC3164 \u0026 RFC5424) in-memory then display them on a web console for easy viewing/searching.\n\n## Build and run\nTo build\n```\ngo get github.com/icha024/go-collect-logs\ncd go-collect-logs\ngo build\n```\n\nTo run, just `./go-collect-logs`\n```\nUsage of ./go-collect-logs:\n  -host string\n    \tService host to listen on. (default \"0.0.0.0\")\n  -log-read-inteval int\n    \tInterval, in seconds, to read syslog into memory. (default 3)\n  -max-filter int\n    \tMaximum number of filtered log entries to return. (default 1000)\n  -max-log int\n    \tMaximum number of log entries to keep. Approx 1KB/entry. (default 50000)\n  -port int\n    \tService port to listen on. (default 3000)\n  -sev\n    \tParse the syslog severity header\n  -stdout\n    \tPrint syslog received to stdout (default true)\n  -syslog-host string\n    \tSyslog host to listen on. (default \"0.0.0.0\")\n  -syslog-port int\n    \tSyslog port to listen on. (default 10514)\n```\n\n## Running in Docker:\nSee instructions on Docker hub:\nhttps://hub.docker.com/r/icha024/go-collect-logs/\n\nTo build your own:\n```\ndocker build -t go-collect-logs\ndocker run --rm -ti -p 3000:3000 -p 10514:10514/UDP -p 10514:10514/TCP go-collect-logs\n```\n\n## Sending logs to go-collect-logs:\n```\necho 'test message' 2\u003e\u00261 | logger -P 10514 -n localhost\n```\n\nor redirect from your existing Docker container:\n```\ndocker run --rm -ti --log-driver=syslog --log-opt syslog-format=rfc3164 --log-opt syslog-address=udp://127.0.0.1:10514 alpine /bin/sh -c \"while true; do echo My Message \\$RANDOM; sleep 1; done;\"\n```\n(See piping Docker logs to syslog: https://docs.docker.com/engine/admin/logging/overview/)\n\n\n## View logs on web console\nOpen http://127.0.0.1:3000\n\n![Screenshot of web console](screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficha024%2Fgo-collect-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficha024%2Fgo-collect-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficha024%2Fgo-collect-logs/lists"}