Class: LogStash::Outputs::Null

Inherits:
Base show all
Defined in:
lib/logstash/outputs/null.rb

Overview

A null output. This is useful for testing logstash inputs and filters for performance.

Constant Summary

Constants included from Config::Mixin

Config::Mixin::CONFIGSORT

Instance Attribute Summary

Attributes included from Config::Mixin

#config, #original_params

Attributes inherited from Plugin

#logger, #params

Instance Method Summary collapse

Methods inherited from Base

#handle, #handle_worker, #initialize, #worker_setup, #workers_not_supported

Methods included from Config::Mixin

#config_init, included

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::Outputs::Base

Instance Method Details

#receive(event) ⇒ Object



16
17
# File 'lib/logstash/outputs/null.rb', line 16

def receive(event)
end

#registerObject



12
13
# File 'lib/logstash/outputs/null.rb', line 12

def register
end