{"id":23094865,"url":"https://github.com/natefoo/logflux","last_synced_at":"2026-05-02T19:33:21.797Z","repository":{"id":57438805,"uuid":"147699214","full_name":"natefoo/logflux","owner":"natefoo","description":"Read messages from rsyslog via a socket and send regex-parsed values to InfluxDB","archived":false,"fork":false,"pushed_at":"2026-03-20T20:07:34.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-21T10:45:45.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/natefoo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-09-06T16:04:13.000Z","updated_at":"2018-09-07T20:18:03.000Z","dependencies_parsed_at":"2022-09-08T08:03:43.434Z","dependency_job_id":null,"html_url":"https://github.com/natefoo/logflux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/natefoo/logflux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natefoo%2Flogflux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natefoo%2Flogflux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natefoo%2Flogflux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natefoo%2Flogflux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natefoo","download_url":"https://codeload.github.com/natefoo/logflux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natefoo%2Flogflux/sbom","scorecard":{"id":675188,"data":{"date":"2025-08-11","repo":{"name":"github.com/natefoo/logflux","commit":"f52a46e0259bae5ed3d3e13a6f23f31a04eaf41d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"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":0,"reason":"Found 0/7 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":"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":"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":"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":"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":"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: MIT License: 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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T21:14:24.365Z","repository_id":57438805,"created_at":"2025-08-21T21:14:24.365Z","updated_at":"2025-08-21T21:14:24.365Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"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":[],"created_at":"2024-12-16T22:18:28.689Z","updated_at":"2026-05-02T19:33:21.783Z","avatar_url":"https://github.com/natefoo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logflux\n\nRead messages from rsyslog via a socket and send regex-parsed values to InfluxDB\n\n## usage\n\n### rsyslog\n\nrsyslog 8.33.1 and newer supports creating log output in JSON format, which is preferred. To use, configure rsyslog (the\ntemplate format is important) with:\n\n```\ntemplate(name=\"logflux\" type=\"list\" option.jsonf=\"on\") {\n\tproperty(outname=\"@timestamp\" name=\"timereported\" dateFormat=\"rfc3339\" format=\"jsonf\")\n\tproperty(outname=\"host\" name=\"hostname\" format=\"jsonf\")\n\tproperty(outname=\"severity\" name=\"syslogseverity-text\" caseConversion=\"upper\" format=\"jsonf\")\n\tproperty(outname=\"facility\" name=\"syslogfacility-text\" format=\"jsonf\")\n\tproperty(outname=\"syslog-tag\" name=\"syslogtag\" format=\"jsonf\")\n\tproperty(outname=\"source\" name=\"app-name\" format=\"jsonf\")\n\tproperty(outname=\"message\" name=\"msg\" format=\"jsonf\")\n}\n\nmodule(load=\"omuxsock\")\n$OMUxSockSocket /tmp/logflux.sock\n*.*\t:omuxsock:;logflux\n```\n\nIf you have older versions of rsyslog that do not support JSON output, you can use the \"legacy\" format with the\nfollowing template:\n\n```\ntemplate(name=\"logflux\" type=\"list\") {\n\tconstant(value=\"@timestamp: \")\n\tproperty(outname=\"@timestamp\" name=\"timereported\" dateFormat=\"rfc3339\")\n\tconstant(value=\"\\nhost: \")\n\tproperty(outname=\"host\" name=\"hostname\")\n\tconstant(value=\"\\nseverity: \")\n\tproperty(outname=\"severity\" name=\"syslogseverity-text\" caseConversion=\"upper\")\n\tconstant(value=\"\\nfacility: \")\n\tproperty(outname=\"facility\" name=\"syslogfacility-text\")\n\tconstant(value=\"\\nsyslog-tag: \")\n\tproperty(outname=\"syslog-tag\" name=\"syslogtag\")\n\tconstant(value=\"\\nsource: \")\n\tproperty(outname=\"source\" name=\"app-name\")\n\tconstant(value=\"\\n\\n\")\n\tproperty(outname=\"message\" name=\"msg\")\n}\n```\n\nlogflux will automatically detect the format of the first message received and assume this format for all subsequent\nmessages. If you change message formats, restart logflux.\n\nNote: You may only want to send a subset of syslog messages to logflux, you can do so with [filter\nconditions](https://www.rsyslog.com/doc/v8-stable/configuration/filters.html). Note that advanced/RainerScript\nconfiguration syntax is not supported with `omuxsock` as of rsyslog 8.34.0.\n\n### logflux\n\nlogflux uses a YAML-syntax configuration style. The following example shows the syntax and available options:\n\n```yaml\n---\n\nsocket: /tmp/logflux.sock\n\ninflux:\n    host: localhost\n    port: 8086\n\ndatabase: logflux\n\nrules:\n  - name: nginx_rate_limit\n    match:\n      key: message\n      regex: '^nginx:.* limiting requests, excess: (?P\u003cexcess\u003e\\d+\\.\\d+) by zone \"(?P\u003czone\u003e[^\"]+)\", client: (?P\u003cclient\u003e[^,]+)'\n    fields:\n      value:\n        lookup: message.excess\n        type: float\n    tags:\n      zone: message.zone\n      client: message.client\n      hostname: host\n```\n\nBy default, logflux looks for its configuration in `logflux.yaml` in the current directory, this can be overridden with\nthe `-c` or `--config` command line option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatefoo%2Flogflux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatefoo%2Flogflux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatefoo%2Flogflux/lists"}