null

Status: stable

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

Synopsis

This is what it might look like in your config file:
output {
  null {
    tags => ... # array (optional), default: []
    type => ... # string (optional), default: ""
  }
}

Details

tags

  • Value type is array
  • Default value is []

Only handle events with all of these tags. Note that if you specify a type, the event must also match that type. Optional.

type

  • Value type is string
  • Default value is ""

The type to act on. If a type is given, then this output will only act on messages with the same type. See any input plugin's "type" attribute for more. Optional.


This is documentation from lib/logstash/outputs/null.rb