Multiple TCP output plugins in Logstash

Hi,

I am planning to send logs to 2 different servers over TCP. My output section looks looks something like,

    output {
      tcp {
             host => "XX.X.XXX.XXX" #ip address of server 1
              mode => "server"
              port => 80
          }

       tcp {
             host => "XX.X.XXX.XXX" #ip address of server 2
              mode => "server"
              port => 80
          }
    }

So, would Logstash send to both servers or would it be a Round Robin?

Please help me understand..

It will send everything to both.

1 Like

Thanks Badger. Will try it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.