{"id":13646615,"url":"https://github.com/fluent/fluentd-forwarder","last_synced_at":"2025-10-10T18:34:34.663Z","repository":{"id":19261328,"uuid":"22497288","full_name":"fluent/fluentd-forwarder","owner":"fluent","description":"Fluentd Forwarder: Lightweight Data Collector in Golang","archived":false,"fork":false,"pushed_at":"2018-12-05T03:09:28.000Z","size":131,"stargazers_count":287,"open_issues_count":7,"forks_count":36,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-08-14T11:57:51.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.fluentd.org/blog/fluentd-goes-gopher","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent.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":"2014-08-01T06:06:42.000Z","updated_at":"2025-02-09T21:21:51.000Z","dependencies_parsed_at":"2022-08-05T03:00:42.714Z","dependency_job_id":null,"html_url":"https://github.com/fluent/fluentd-forwarder","commit_stats":null,"previous_names":["treasure-data/fluentd-forwarder"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fluent/fluentd-forwarder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-forwarder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-forwarder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-forwarder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-forwarder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/fluentd-forwarder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluentd-forwarder/sbom","scorecard":{"id":404575,"data":{"date":"2025-08-11","repo":{"name":"github.com/fluent/fluentd-forwarder","commit":"b7c39588169e1cb6761d604129f4639c84e4028f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"Code-Review","score":4,"reason":"Found 10/21 approved changesets -- score normalized to 4","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":"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":"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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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"}},{"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:53:22.679Z","repository_id":19261328,"created_at":"2025-08-18T20:53:22.679Z","updated_at":"2025-08-18T20:53:22.679Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004909,"owners_count":26083803,"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-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-08-02T01:03:00.884Z","updated_at":"2025-10-10T18:34:34.631Z","avatar_url":"https://github.com/fluent.png","language":"Go","readme":"fluentd-forwarder\n=================\n\nA lightweight Fluentd forwarder written in Go.\n\nRequirements\n------------\n\n- Go v1.4.1 or above\n- Set the $GOPATH environment variable to get `fluentd_forwarder`\n  under `$GOPATH/bin` directory.\n\nBuild Instructions\n------------------\n\nTo install the required dependencies and build `fluentd_forwarder` do:\n\n```\n$ go get github.com/fluent/fluentd-forwarder/entrypoints/build_fluentd_forwarder\n$ bin/build_fluentd_forwarder fluentd_forwarder\n```\n\nRunning `fluentd_forwarder`\n---------------------------\n\n```\n$ $GOPATH/bin/fluentd_forwarder\n```\n\nWithout arguments, it simply listens on 127.0.0.1:24224 and forwards the events to 127.0.0.1:24225.\n\nIt gracefully stops in response to SIGINT.\n\nIf you want to specify where to forward the events, try the following:\n\n```\n$ $GOPATH/bin/fluentd_forwarder -to fluent://some-remote-node.local:24224\n```\n\nCommand-line Options\n--------------------\n\n* -retry-interval\n\n  Retry interval in which connection is tried against the remote agent.\n\n  ```\n  -retry-interval 5s\n  ```\n\n* -conn-timeout\n\n  Connection timeout after which the connection has failed.\n\n  ```\n  -conn-timeout 10s\n  ```\n\n* -write-timeout\n\n  Write timeout on wire.\n\n  ```\n  -write-timeout 30s\n  ```\n\n* -flush-interval\n\n  Flush interval in which the events are forwareded to the remote agent .\n\n  ```\n  -flush-interval 5s\n  ```\n\n* -listen-on\n\n  Interface address and port on which the forwarder listens.\n\n  ```\n  -listen-on 127.0.0.1:24224\n  ```\n\n* -to\n\n  Host and port to which the events are forwarded.\n\n  ```\n  -to remote-host.local:24225\n  -to fluent://remote-host.local:24225\n  -to td+https://urlencoded-api-key@/*/*\n  -to td+https://urlencoded-api-key@/database/*\n  -to td+https://urlencoded-api-key@/database/table\n  -to td+https://urlencoded-api-key@endpoint/*/*\n  ```\n\n* -ca-certs\n\n  SSL CA certficates to be verified against when the secure connection is used. Must be in PEM format. You can use the [one bundled with td-client-ruby](https://raw.githubusercontent.com/treasure-data/td-client-ruby/master/data/ca-bundle.crt).\n\n  ```\n  -ca-certs ca-bundle.crt\n  ```\n\n\n* -buffer-path\n\n  Directory / path on which buffer files are created. * may be used within the path to indicate the prefix or suffix like var/pre*suf\n\n  ```\n  -buffer-path /var/lib/fluent-forwarder\n  -buffer-path /var/lib/fluent-forwarder/prefix*suffix\n  ```\n\n* -buffer-chunk-limit\n\n  Maximum size of a buffer chunk\n\n  ```\n  -buffer-chunk-limit 16777216\n  ```\n\n* -parallelism\n\n  Number of simultaneous connections used to submit events. It takes effect only when the target is td+http(s).\n\n  ```\n  -parallelism 1\n  ```\n\n* -log-level\n\n  Logging level. Any one of the following values; CRITICAL, ERROR, WARNING, NOTICE, INFO and DEBUG.\n\n  ```\n  -log-level DEBUG\n  ```\n\n* -log-file\n\n  Species the path to the log file.  By default logging is performed to the standard error.  It may contain strftime(3)-like format specifications like %Y in any positions.  If the parent directory doesn't exist at the time the logging is performed, all the leading directories are created automatically so you can specify the path like `/var/log/fluentd_forwarder/%Y-%m-%d/fluentd_forwarder.log`\n\n  ```\n  -log-file /var/log/fluentd_forwarder.log\n  ```\n\n* -config\n\n  Specifies the path to the configuration file.  The syntax is detailed below.\n\n  ```\n  -config /etc/fluentd-forwarder/fluentd-forwarder.cfg\n  ```\n\n* -metadata\n\n  Specifies the additional data to insert `metadata` record. The syntax is detailed below.\n  ```\n  -metadata \"custom metadata\"\n  ```\n\nConfiguration File\n------------------\n\nThe syntax of the configuration file is so-called INI format with the name of the primary section being `fluentd-forwarder`.  Each setting is named exactly the same as the command-line counterpart, except for `-config`. (It is not possible to refer to another configuation file from a configuration file)\n\n```\n[fluentd-forwarder]\nto = fluent://remote.local:24224\nbuffer-chunk-limit = 16777216\nflush-interval = 10s\nretry-interval = 1s\n```\n\nDependencies\n------------\n\nfluentd_forwarder depends on the following external libraries:\n\n* github.com/ugorji/go/codec\n* github.com/op/go-logging\n* github.com/jehiah/go-strftime\n* github.com/moriyoshi/go-ioextras\n* gopkg.in/gcfg.v1\n* github.com/treasure-data/td-client-go\n\nLicense\n-------\n\nThe source code and its object form (\"Work\"), unless otherwise specified, are licensed under the Apache Software License, Version 2.0.  You may not use the Work except in compliance with the License.  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\n\nA portion of the code originally written by Moriyoshi Koizumi and later modified by Treasure Data, Inc. continues to be published and distributed under the same terms and conditions as the MIT license, with its authorship being attributed to the both parties.  It is specified at the top of the applicable source files.\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluentd-forwarder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Ffluentd-forwarder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluentd-forwarder/lists"}