Class: LogStash::Filters::NOOP
- Defined in:
- lib/logstash/filters/noop.rb
Overview
No-op filter. This is used generally for internal/dev testing.
Constant Summary
Constants inherited from Base
Constants included from Config::Mixin
Instance Attribute Summary
Attributes included from Config::Mixin
Attributes inherited from Plugin
Instance Method Summary collapse
Methods inherited from Base
#execute, #initialize, #threadsafe?
Methods included from Config::Mixin
Methods inherited from Plugin
#eql?, #finished, #finished?, #hash, #initialize, #inspect, lookup, #reload, #running?, #shutdown, #teardown, #terminating?, #to_s
Constructor Details
This class inherits a constructor from LogStash::Filters::Base
Instance Method Details
#filter(event) ⇒ Object
16 17 18 19 20 |
# File 'lib/logstash/filters/noop.rb', line 16 def filter(event) return unless filter?(event) # Nothing to do filter_matched(event) end |
#register ⇒ Object
11 12 13 |
# File 'lib/logstash/filters/noop.rb', line 11 def register # Nothing end |