node.js webservice to process incoming logs for search