Elapsed time between consecutive logs

i don't think you could do that with the elapsed filter because for him an event can only be a start event for the timer OR an end event.

I think your only possibility will be the ruby filter.