sethhall/nsq-to-es — pull request #1 by grigorescu (2014-10-13 19:45:59+00:00)
Title: Fix log submission to ElasticSearch

By making a new Array of bulkSize, appending new logs, and then doing a join with \n,
we would get a lot of empty newlines prepending the actual data. ElasticSearch would
reject this with a 400 error. I changed this to make an Array of size 0 - there might
be a better solution.