apache.access
#
$ target-query <path/to/target> -f apache.access
Module |
|
Output |
|
Module documentation
Apache log parsing plugin.
Apache has three default access log formats, which this plugin can all parse automatically. These are:
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
For the definitions of each format string, see https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#formats
For Apache, the error logs by default follow the following format:
ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
Function documentation
Return contents of Apache access log files in unified WebserverAccessLogRecord
format.