Read data from RelationalDatabase to Elasticsearch

Hi

I am bit confused here in reading data from Relational database to elasticsearch,should i use Logstash with jdbc input plugin or elasticsearch jbdc driver , which one fullfill my requirement ?

Please help me.

You can use Logstash with jdbc input plugin.

But I shared other thoughts there: http://david.pilato.fr/blog/2015/05/09/advanced-search-for-your-legacy-application/

Basically, I'd recommend modifying the application layer if possible and send data to elasticsearch in the same "transaction" as you are sending your data to the database.

Thanks David