1.0.2 • Published 5 years ago
elasticsearch-notificator-of-new-records-based-by-ts-field v1.0.2
Elasticsearch notificator of new records based by ts field
Elasticsearch script that query elastic index and get callback if it was added any new records based by mongots ts.
Requirements
For development, you will only need Node.js and @elastic/elasticsearch
Install
$ npm i elasticsearch-notificator-of-new-records-based-by-ts-field
Configure app
The query in elastic based by ts field that's called 'mongots'. You should change to your custom field (See haveAnyRecords.js file)
Running the project
$ npm start
or
$ node app.js