{"id":16644893,"url":"https://github.com/toyama0919/fluent-plugin-split","last_synced_at":"2025-09-02T17:45:59.670Z","repository":{"id":12890775,"uuid":"15567518","full_name":"toyama0919/fluent-plugin-split","owner":"toyama0919","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-22T05:45:57.000Z","size":16,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T16:46:50.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/toyama0919.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-01-01T17:40:28.000Z","updated_at":"2020-09-21T16:30:23.000Z","dependencies_parsed_at":"2022-08-31T06:51:47.538Z","dependency_job_id":null,"html_url":"https://github.com/toyama0919/fluent-plugin-split","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Ffluent-plugin-split","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Ffluent-plugin-split/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Ffluent-plugin-split/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Ffluent-plugin-split/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toyama0919","download_url":"https://codeload.github.com/toyama0919/fluent-plugin-split/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968201,"owners_count":19560585,"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":[],"created_at":"2024-10-12T08:12:37.816Z","updated_at":"2025-02-15T08:30:54.945Z","avatar_url":"https://github.com/toyama0919.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://secure.travis-ci.org/toyama0919/fluent-plugin-split.png?branch=master)](http://travis-ci.org/toyama0919/fluent-plugin-split)\n[![Gem Version](https://badge.fury.io/rb/fluent-plugin-split.svg)](http://badge.fury.io/rb/fluent-plugin-split)\n\n# fluent-plugin-split, a plugin for [Fluentd](http://fluentd.org)\n\nOutput Split String Plugin for fluentd\n\n## Installation\n\n### td-agent(Linux)\n\n    /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-split\n\n### td-agent(Mac)\n\n    sudo /usr/local/Cellar/td-agent/1.1.XX/bin/fluent-gem install fluent-plugin-split\n\n### fluentd only\n\n    gem install fluent-plugin-split\n\n\n## parameter\n\nparam    |   value\n--------|------\noutput_tag|output tag(require)\noutput_key|output split word key(require)\nformat|csv or tsv or space(default csv)\nkey_name|target key name(require)\nkeep_keys|keep keys comma separator(optional)\n\n## Configuration\n\nExample:\n\n    \u003cmatch foo.bar\u003e\n      type split\n      output_tag split.keyword\n      output_key keyword\n      format csv\n      key_name keywords\n      keep_keys site\n    \u003c/match\u003e\n\nAssume following input is coming:\n\n```js\nfoo.bar {\"keywords\"=\u003e\"keyword1,keyword2,keyword3\", \"site\" =\u003e \"google\", \"user_id\" =\u003e \"1\"}\n```\n\nthen output becomes as below (indented):\n\n```js\nsplit.keyword { \"keyword\" =\u003e \"keyword1\", \"site\" =\u003e \"google\"}\nsplit.keyword { \"keyword\" =\u003e \"keyword2\", \"site\" =\u003e \"google\"}\nsplit.keyword { \"keyword\" =\u003e \"keyword3\", \"site\" =\u003e \"google\"}\n```\n\n## ChangeLog\n\nSee [CHANGELOG.md](CHANGELOG.md) for details.\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 Hiroshi Toyama. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyama0919%2Ffluent-plugin-split","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoyama0919%2Ffluent-plugin-split","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyama0919%2Ffluent-plugin-split/lists"}