splunk / splunk-sdk-ruby

Splunk Software Development Kit for Ruby
http://dev.splunk.com
Apache License 2.0
36 stars 21 forks source link

Make ResultsReader return only the non preview events on export streams. #19

Closed madhadron closed 11 years ago

madhadron commented 11 years ago

Write delegating wrapper ExportStream around streams and make Jobs#create_export return it. Add test to count the number of total events returned by a reporting export. Renamed a couple of tests to use 'export' instead of 'stream'.

davidfstr commented 11 years ago

LGTM.

It took me a while to convince myself that the Delegator implementation actually worked.