apache#

$ target-query <path/to/target> -f apache
Details#

Module

apps.webserver.apache.ApachePlugin

Output

records

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

This is a namespace plugin. This means that by running this plugin, it will automatically run all other plugins under this namespace: