I would like to calculate the duration between the last two events in a transaction. An example transaction looks something like:
2015-12-31 13:03:03,695 Outgoing UserId="99999999999" MsgType="Menu" Internal="START"
2015-12-31 13:03:15,437 Incoming UserId="99999999999" MsgType="Refresh"
2015-12-31 13:03:19,847 Incoming UserId="99999999999" MsgType="Key" Key="1"
2015-12-31 13:03:20,238 Outgoing UserId="99999999999" MsgType="Menu"
How can I calculate the duration between last Incoming and last Outgoing events?
↧