logstash/logstash — pull request #363 by AldenJole (2013-02-15 21:58:47+00:00)
Title: Feature/clone filter

A filter to clone events. It should leave the original event un-altered. All the default selectors should work for selecting the event. All the default event modifiers should only apply to the event clones. You'll be able to make an arbitrary number of clones. You can make an identical clone by giving your clones the same type as the original event.

This could use a spec test. I tried to write the spec test but it complained about my yield being out of block. The split filter did not work in tests either. I suspect the tests are not setup to yield events from filter.