Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/civitaspo/fluent-plugin-file-raw
練習用。out_fileにformatter噛ませば普通に同じことできるのでduplicatedですよ
https://github.com/civitaspo/fluent-plugin-file-raw
Last synced: 3 months ago
JSON representation
練習用。out_fileにformatter噛ませば普通に同じことできるのでduplicatedですよ
- Host: GitHub
- URL: https://github.com/civitaspo/fluent-plugin-file-raw
- Owner: civitaspo
- License: mit
- Created: 2015-06-08T11:54:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-08T17:46:46.000Z (over 9 years ago)
- Last Synced: 2024-05-01T15:28:43.360Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# fluent-plugin-file-raw
[![Build Status](https://secure.travis-ci.org/civitaspo/fluent-plugin-file-raw.png?branch=master)](http://travis-ci.org/civitaspo/fluent-plugin-file-raw)Fluentd plugin to output raw data to files.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'fluent-plugin-file-raw'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-file-raw
## Configuration
example:
```
type file_raw
output_path /tmp/out
output_file_prefix outfile
output_delimiter TAB```
output:
/tmp/out/outfile.%Y-%m-%d-%H.xxxxxxxxxxx
- %Y-%m-%d-%H: executed time
- xxxxxxxxxxx: 32 randam letters#### parameter detail
|param|validation|explanation|
|:--|:--|:--|
|output_path|string|require the existence of the path.|
|output_file_prefix|string||
|bulk_tag_prefix|string|if the option is enabled, the output_delimiter option is disabled.|
|output_delimiter|'',TAB,COMMA|the delimiters except left ones are not permitted.|## ChangeLog
See [CHANGELOG.md](CHANGELOG.md) for details.
## Contributing
1. Fork it ( https://github.com/[my-github-username]/fluent-plugin-file-raw/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