Kafka-logstash-database

I have a server with two network cards. (192.168.1.20 , 192.168.1.50)
Logstash is installed on this server.
I want to logstash the first interface that reads data from Kafka. (192.168.1.20)
And output the logstash with the second interface and send to the oracle server. (192.168.1.50)

my currently config is :

input {
 kafka{
     bootstarpt_servers => "192.168.1.10:9092"
     group_id => "test"
    topic => "logstash"

  }
output {
   jdbc {
       etc.....
     }
   }
}

how can i send input trafic on 192.168.1.20
and
send output trafic on 192.168.1.50
?
thanks a lot.

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