This is what I found, I hope it helps. It is untested but should be functional.
Reference Document-> http://httpd.apache.org/docs/1.3/logs.html
I would personally change the search names to something smaller, but I altered it slightly to name value pairs. Here is the altered query string.
"xforwarder=%{X-Forwarded-For}i IP=%h userid=%u time=%t request="%r" responseCode=%>s responseSize=%b"
I removed %D and %l as they are undefined and filler respectively.
%l => -
%D=> not on the page
%h=> IP Address
\"%{Referer}i\" =>referrer I didn't use but could see value in adding
\"%{User-agent}i\"" => user-Agent
%r => The request line from the client is given in double quotes.
... View more