websocket

Status: experimental

TODO(sissel): THIS IS NOT SUPPORTED IN JRUBY YET

Synopsis

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

Details

host

  • Value type is string
  • Default value is "0.0.0.0"

The address to serve websocket data from

port

  • Value type is number
  • Default value is 3232

The port to serve websocket data from

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