db.<mydb>.<prop>: put your database info here.
<mydb>is the name of CouchDB database you want to stream to Elasticsearch. Put as many databases as you want here, Nesu will stream all the way.
default.<prop>: serve as default properties. Will be used if none are provided in
bulkLimit: max. number of documents in a bulk operation. Optional, defaults to 1000 documents
idleTimeout: how long to wait for a new changes to arrive. In seconds, optional, default to 2 seconds. If you put 0 in it, it’ll use continuous stream provided by nano.db.follow instead of regular polling (nano.db.changes)
cdb.url: the url of your CouchDB server endpoint. Optional, defaults to http://localhost:5984
cdb.name: name of CouchDB database if different from the db’s key name. Optional, defaults to the db’s key
es.url: the url of your Elasticsearch endpoint. Optional, defaults to http://localhost:9200
es.name: name of Elasticsearch index if different from the db’s key name. Optional, defaults to the db’s key
es.typeField: document’s key name to be used as Elasticsearch’s type field. Optional, defaults to doc.
transformerfolder with the exact name as its corresponding database. E.g. if your database name is mydb, than your transformer file will be mydb.js
‘now’(without the quotes) in it