Nginx custom log, $bytes_sent exist something like $bytes_received?

Solution 1:

Yes, the $request_length is the length of the body of the request sent by user to the server. You can visit this link for other values.