https://github.com/cosmo0920/fluent-plugin-formatter_simple_tsv
Fluentd Simple TSV formatter plugin
https://github.com/cosmo0920/fluent-plugin-formatter_simple_tsv
fluentd fluentd-plugin tsv
Last synced: 4 months ago
JSON representation
Fluentd Simple TSV formatter plugin
- Host: GitHub
- URL: https://github.com/cosmo0920/fluent-plugin-formatter_simple_tsv
- Owner: cosmo0920
- License: mit
- Created: 2015-08-08T14:16:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-12T14:59:27.000Z (almost 9 years ago)
- Last Synced: 2024-04-25T04:22:26.541Z (about 1 year ago)
- Topics: fluentd, fluentd-plugin, tsv
- Language: Ruby
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# fluent-plugin-formatter_simple_tsv
[](https://travis-ci.org/cosmo0920/fluent-plugin-formatter_simple_tsv)
Fluentd Simple TSV formatter plugin
## Notice
0.1.0 had been dropped support Fluentd v0.12.
If you want to use this plugin with Fluentd v0.12, please add version constraint in your Gemfile like as:```ruby
gem "fluent-plugin-formatter_simple_tsv", "~> 0.0.3"
```## Installation
Add this line to your application's Gemfile:
```ruby
gem 'fluent-plugin-formatter_simple_tsv'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-formatter_simple_tsv
## Configuration Example
Use out_xxx plugins which support Formatter feature together.
For example, for out_file plugin (v0.14's structured style):
```
@type file
path /tmp/tsv_test
@type simple_tsv
keys key1,key2
```
## Parameters- **keys** (String. required) Specify "key1,key2,key3" format. This field is interpret ["key1", "key2", "key3"] internally. Only specified key's value will be formatted.
**Notice:** In v0.14 supported version of this plugin, handling tag and time feature has been removed.
## Development
After checking out the repo, run `bundle install` to install dependencies.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `fluent-plugin-formatter_simple_tsv.gemspec`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
1. Fork it ( https://github.com/cosmo0920/fluent-plugin-formatter_simple_tsv/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request