I'm using logstash syslog module to send customized outputs to multiple destinations/port
I've done as below, but somehow only the 1st destination receives message.
Is there another format to have multiple syslog outputs?
output {
syslog{
host => "10.1.2.1"
port => 514
protocol => "tcp"
appname => ""
procid => ""
sourcehost => "myhost"
}
syslog{
host => "10.1.2.2"
port => 514
protocol => "tcp"
appname => ""
procid => ""
sourcehost => "myhost"
}
syslog{
host => "10.1.2.3"
port => 10514
protocol => "tcp"
appname => ""
procid => ""
sourcehost => "myhost"
}
}