stdout

Status: stable

Synopsis

This is what it might look like in your config file:
output {
  stdout {
    debug => ... # boolean (optional)
    debug_format => ... #  (optional), default: ["ruby"]
    exclude_tags => ... # array (optional), default: []
    fields => ... # array (optional), default: []
    tags => ... # array (optional), default: []
    type => ... # string (optional), default: ""
  }
}

Details

debug

  • Value type is boolean
  • There is no default value for this setting.

Enable debugging. Tries to pretty-print the entire event object.

debug_format

  • Value type is string
  • Default value is ["ruby"]

Debug output format: ruby (default), json

exclude_tags

  • Value type is array
  • Default value is []

Only handle events without any of these tags. Note this check is additional to type and tags.

fields

  • Value type is array
  • Default value is []

Only handle events with all of these fields. Optional.

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/stdout.rb