https://github.com/sonots/fluent-plugin-filter_dup
A Fluentd sample filter plugin to duplicate messages
https://github.com/sonots/fluent-plugin-filter_dup
fluentd-filter-plugin fluentd-plugin sample to-do-v14 unreleased v12
Last synced: 6 months ago
JSON representation
A Fluentd sample filter plugin to duplicate messages
- Host: GitHub
- URL: https://github.com/sonots/fluent-plugin-filter_dup
- Owner: sonots
- License: mit
- Created: 2014-12-14T08:07:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-29T21:34:46.000Z (almost 11 years ago)
- Last Synced: 2025-06-13T06:06:03.145Z (6 months ago)
- Topics: fluentd-filter-plugin, fluentd-plugin, sample, to-do-v14, unreleased, v12
- Language: Ruby
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# fluent-plugin-filter_dup
[](http://travis-ci.org/sonots/fluent-plugin-filter_dup)
A Fluentd sample filter plugin to duplicate messages
## Requirements
Fluentd >= v0.12
## Install
Use RubyGems:
```
gem install fluent-plugin-filter_dup
```
## Configuration Example
```apache
forward
type dup
type stdout
```
You should be able to see duplicated messages, try as:
```
$ echo '{"a":"foo","b":"bar"}' | fluent-cat raw.test
```
## Parameters
None
## ChangeLog
See [CHANGELOG.md](CHANGELOG.md) for details.
## Contributing
1. Fork it
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 new [Pull Request](../../pull/new/master)
## Copyright
Copyright (c) 2014 Naotoshi Seo. See [LICENSE](LICENSE) for details.