HTTP LOGS VIEWER

Log Format

Apache Logs Viewer supports custom log formats. Log formats can be entered with the following format.

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined

Below is a list of all supported directives.
Log Format stringNameDescription %hhostIP Address of visitor %llognameEmpty in many cases %uuserEmpty in many cases unless user is authenticated %tdate & timeDate and time that the event occurred \"%r\"requestRequest string %>sstatusHTTP Status code %bsizeHTTP Size \"%{Referer}i\"RefererReferer host \"%{User-agent}i\"
User agent headerWeb browser or Bot identification %ahostIP Address %h_phost & portIP Address and Port \"%h\"hostIP Address in quotes %{x-forwarded-for}ihostIP Address \"%{x-forwarded-for}i\"hostIP Address in quotes %t_utimetime in universal mode %t_ctimetimetime in ctime format %raddAdd to request header

in LogFormat string use it if you wish to concatenate different sections together eg
LogFormat "%r %h %radd %radd %s" %BsizeSize in bytes %IReceivedBytes Received %OSentBytes Sent %STransferredBytes Transferred %VVirtual Host %vVirtual Host %TTime TakenTime Taken %DTime TakenTime Taken in milliseconds %T/%DTime TakenTime Taken and Time Taken in ms %rhRemote HostRemote Host (IP Address)

For further assistance regarding logs and what format to use please contact us.

© 2026 iannet. All rights reserved. Formerly Apache Logs Viewer.