Logstash Aggregate copy last Event to Map

This might help.