Write events to a 0MQ PUB socket.
You need to have the 0mq 2.1.x library installed to be able to use this input plugin.
The default settings will create a publisher connecting to a subscriber bound to tcp://127.0.0.1:2120
output {
zeromq {
address => ... # string (optional), default: "tcp://127.0.0.1:2120"
mode => ... # ["server", "client"] (optional), default: "server"
queue => ... # string (optional), default: ""
tags => ... # array (optional), default: []
type => ... # string (optional), default: ""
}
}
0mq socket address to connect or bind to
Whether to bind ("server") or connect ("client") to the socket
0mq topic (Used with ZMQSUBSCRIBE, see http://api.zeromq.org/2-1:zmq-setsockopt for 'ZMQSUBSCRIBE: Establish message filter')
Only handle events with all of these tags. Note that if you specify a type, the event must also match that type. Optional.
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.