Per Stream Destination¶
The lumberjack, syslog tcp and udp output nodes all support a configuration option that allows you to have a single node in charge of dispatching the data received on respectively stream1 stream2 .. streamN to a (respectively) destination1 destination2 destinationN.
Here is the way to configure this. Let us start with a regular mono-stream example.
- type: lumberjack_output settings: destination: - host: 127.0.0.1 port: 5052
- type: lumberjack_output settings: destinations: - stream: logs destination: - host: 127.0.0.1 port: 5052 - stream: alerts destination: - host: 127.0.0.1 port: 5053
Always favor per stream destination as they will become the only supported option starting at punch 6.5