Get the logs for request receive and response time from the server

How to get the timestamp for request receive and response sent to the client through search engine logs. As we know we can get the time taken to the response from the response payload, but I want to get from server logs.
I have tried to enable debug logs using below
" PUT /_cluster/settings?pretty --data ‘{“transient”:{“logger._root”:“DEBUG”}}’
then I could see the debug log as below
“Inside RestMethodFactory::extractProcessor()” immediately after hitting request on server through rest API but not response sent log.
Actually I want to get the time taken for the server to serve the request.
Could you please help me how to get the request receive and response sent log from the opensearch.

TIA,
Ashok

Configuration:

Relevant Logs or Screenshots: