How to retrieve the time it takes the server to process a http transaction

How to retrieve the time it takes the server to process http transaction
Is there any way to get this information from current suricata code. Would like to log this information for analysis. For both http
The request is when the request is completely sent to server > log the time
When the response starts or end from servers → log the time

Any clues here or something like already available in suricata