Batch processing

Moved your question to logstash

Yes you can.

Look at something similar at