Apache HTTP Server Version 2.4
Description: | Record SMF entries for HTTP requests |
---|---|
Status: | Extension |
Module Identifier: | smf_module |
Source File: | mod_smf.c |
This module provides support for logging HTTP request/response details via z/OS SMF. .
The Type 103 subtype 14 record format is variable length, with some fields stored in fixed positions and others concatenated in a variable length buffer. Fields with an "_len" suffix below are stored end-to-end in the final variable length buffer field.
PID|METHOD_LENGTH|DOMAIN_LENGTH|URI_LENGTH|RIP_LENGTH|CPU_TIME|ELAPSED_TIME|variable-length-buffer[METHOD|DOMAIN|URL|CLIENT_IP]
field id | field description | length | notes |
---|---|---|---|
PID | Integer, process ID of unix process space handling the request | 4 | |
METHOD_LENGTH | Integer, length of the HTTP request method | 4 | |
DOMAIN_LENGTH | Integer, length of the HTTP Host: header | 4 | |
URL_LENGTH | Integer, length of the HTTP request URL | 4 | |
RIP_LENGTH | Integer, length of the client IP address | 4 | |
CPU_TIME | String, accumulated CPU time in seconds as measured by the clock() routine | 8 | |
ELAPSED_TIME | Integer (long long), elapsed request time in milliseconds | 8 | |
METHOD | String, HTTP request method | $METHOD_LENGTH | |
DOMAIN | String, HTTP Request domain | $DOMAIN_LENGTH | |
URL | String, HTTP Request URL | $URL_LENGTH | |
CLIENTIP | String, Remote client IP address | $RIP_LENGTH | |
VERSION | Integer, Field added by PI83350 with value of 2. It can be found by adding the preceding fields. | 4 | |
JOBNAME | char[8] (not null terminated), processes job name | 8 | Added in version 2 |
JOBID | char[8] (not null terminted), processes job id (STC id) | 8 | Added in version 2 |
ASID | char[2] (not null terminted), ASID | 2 | Added in version 3 |
Description: | Enables debugging |
---|---|
Syntax: | SMFLogDebug ON|OFF |
Default: | OFF |
Context: | directory |
Status: | Extension |
Module: | mod_smf |
Compatibility: | Directive and functionality not available on z/OS until IBM HTTP Server 8.5.5.0 |
This directive enables more debugging for this module.
Description: | Enables SMF recording of per-request details |
---|---|
Syntax: | SMFRecord ON|OFF |
Default: | OFF |
Context: | directory |
Status: | Extension |
Module: | mod_smf |
Compatibility: | Directive and functionality not available on z/OS until IBM HTTP Server 8.5.5.0 |
This directive configures the enclosing location to record SMF records for each access.