Output db plugin

Is there a way to take input from one database and output it to another database using logstash?

I am using oracle database

Yes. I believe there is a third-party JDBC output plugin available.