An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# fluent-plugin-filter_dup

[![Build Status](https://secure.travis-ci.org/sonots/fluent-plugin-filter_dup.png?branch=master)](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.