{"id":21056919,"url":"https://github.com/fluent-plugins-nursery/fluent-plugin-flowcounter-simple","last_synced_at":"2025-05-15T23:33:31.569Z","repository":{"id":11985827,"uuid":"14561292","full_name":"fluent-plugins-nursery/fluent-plugin-flowcounter-simple","owner":"fluent-plugins-nursery","description":"Simple Fluentd Plugin to count number of messages and outputs to log","archived":false,"fork":false,"pushed_at":"2025-02-12T01:07:59.000Z","size":27,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-09T02:16:20.354Z","etag":null,"topics":["fluentd-filter-plugin","fluentd-output-plugin","fluentd-plugin","v10","v12","v14"],"latest_commit_sha":null,"homepage":"","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/fluent-plugins-nursery.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-20T16:04:30.000Z","updated_at":"2025-02-12T01:07:56.000Z","dependencies_parsed_at":"2022-09-07T11:51:55.258Z","dependency_job_id":null,"html_url":"https://github.com/fluent-plugins-nursery/fluent-plugin-flowcounter-simple","commit_stats":null,"previous_names":["sonots/fluent-plugin-flowcounter-simple"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-plugins-nursery","download_url":"https://codeload.github.com/fluent-plugins-nursery/fluent-plugin-flowcounter-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442429,"owners_count":22071864,"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":["fluentd-filter-plugin","fluentd-output-plugin","fluentd-plugin","v10","v12","v14"],"created_at":"2024-11-19T16:54:56.724Z","updated_at":"2025-05-15T23:33:26.500Z","avatar_url":"https://github.com/fluent-plugins-nursery.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-flowcounter-simple [![Build Status](https://secure.travis-ci.org/sonots/fluent-plugin-flowcounter-simple.png?branch=master)](http://travis-ci.org/sonots/fluent-plugin-flowcounter-simple)\n\nSimple Fluentd Plugin to count number of messages and outputs to log\n\n## Requirements\n\n| fluent-plugin-flowcounter-simple  | fluentd | ruby |\n|-------------------|---------|------|\n| \u003e= 0.1.0 | \u003e= v1.0 | \u003e= 2.4 |\n|  \u003c 0.0.4 | \u003e= v0.12.0 | \u003e= 2.1 |\n\n## Filter Plugin Configuration\n\n```apache\n\u003cfilter foo.bar.**\u003e\n  type flowcounter_simple\n  unit second\n\u003c/filter\u003e\n```\n\nThis filter plugin pass through records, and writes counts into the log file as\n\n    plugin:out_flowcounter_simple  count:30  indicator:num  unit:second\n\n## Output Plugin Configuration\n\n    \u003cmatch foo.bar.**\u003e\n      type flowcounter_simple\n      unit second\n    \u003c/match\u003e\n\nThis plugin does not emit, just writes counts into the log file as\n\n    plugin:out_flowcounter_simple  count:30  indicator:num  unit:second\n\n## Parameters\n\n- unit\n\n    One of second/minute/hour/day. Default: minute\n\n- indicator\n\n    One of num/byte. Default: num\n\n- comment\n\n    Just a comment. You may use this to mark where you put flowcounter_simple.\n\n## Relatives\n\nThere is a [fluent-plugin-flowcounter](https://github.com/tagomoris/fluent-plugin-flowcounter), \nbut I needed a very very simple plugin to use for performance evaluation. \n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new [Pull Request](../../pull/new/master)\n\n## Copyright\n\nCopyright (c) 2013 Naotoshi Seo. See [LICENSE.txt](LICENSE.txt) for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-flowcounter-simple/lists"}