It would be great if you could explain if there is any threshold on the #of lines for a given record.
Another important thing to consider is that, I have noticed the following log during one of the runs, but wasn't really consistently being reported.
2016-05-26 11:48:16 +0530 [warn]: Size of the emitted data exceeds buffer_chunk_limit.
2016-05-26 11:48:16 +0530 [warn]: This may occur problems in the output plugins ``at this server.``
2016-05-26 11:48:16 +0530 [warn]: To avoid problems, set a smaller number to the buffer_chunk_limit
2016-05-26 11:48:16 +0530 [warn]: in the forward output ``at the log forwarding server.``
2016-05-26 11:48:16 +0530 [warn]: Size of the emitted data exceeds buffer_chunk_limit.
2016-05-26 11:48:16 +0530 [warn]: This may occur problems in the output plugins ``at this server.``
2016-05-26 11:48:16 +0530 [warn]: To avoid problems, set a smaller number to the buffer_chunk_limit
2016-05-26 11:48:16 +0530 [warn]: in the forward output ``at the log forwarding server.``
2016-05-26 11:48:16 +0530 [info]: Connection opened to Elasticsearch cluster => {:host=>"localhost", :port=>9200, :scheme=>"http"}
Looking forwards for your valuable inputs.