Class: Fluent::JqFilter
- Inherits:
-
Filter
- Object
- Filter
- Fluent::JqFilter
- Defined in:
- lib/fluent/plugin/filter_jq.rb
Instance Method Summary collapse
Instance Method Details
#filter_stream(tag, es) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/fluent/plugin/filter_jq.rb', line 12 def filter_stream(tag, es) result_es = Fluent::MultiEventStream.new es.each do |time, record| jq_search(time, record, result_es) end result_es rescue => e log.warn e. log.warn e.backtrace.join(', ') end |