Fetching Data from couch db(nosql db) to elasticsearch through logstash?

I want to fetch data from couch db which is a nosql db to elasticsearch through logstash.
but i don't know what the logstash config file will look like, I mean what Input section will look like in the config file.
any solution would do great.


I have never used it, but would suggest you start looking at the couchdb changes input plugin.