# Kafka-logstash-database

**URL:** <https://discuss.elastic.co/t/kafka-logstash-database/145427>\
**Category:** Logstash\
**Created:** [August 21, 2018, 4:03pm UTC](https://discuss.elastic.co/t/kafka-logstash-database/145427 "2018-08-21T16:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arp220](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arp220/32/84666_2.png) [@arp220](https://discuss.elastic.co/u/arp220)\
**Post date:** [August 21, 2018, 4:03pm UTC](https://discuss.elastic.co/t/kafka-logstash-database/145427/1 "2018-08-21T16:03:11Z")

</div>

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 :

```auto
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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 18, 2018, 4:12pm UTC](https://discuss.elastic.co/t/kafka-logstash-database/145427/2 "2018-09-18T16:12:18Z")

</div>

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