nsmcp::AccessRecordParser method fields (public)
<instance of nsmcp::AccessRecordParser> fields peer identifier \ user stamp request status bytes tail [ scannedFields ] \ [ parsedTiming ]
Defined in /usr/local/ns/tcl/nsmcp/access-record.tcl
Normalize decoded access-log fields into a request record. Combine scanned metadata and optional C-parsed timing with the same validation used by Tcl scanning.
- Parameters:
- peer (required)
- Logged peer address, including the supported unknown-value sentinel.
- identifier (required)
- Complete log-thread identifier, or the raw identifier field when parsing access records.
- user (required)
- Logged user identifier used to derive authentication state.
- stamp (required)
- Original access-log timestamp field.
- request (required)
- Decoded HTTP request-line field.
- status (required)
- Decoded HTTP response status.
- bytes (required)
- Logged response-byte value, retaining the supported unknown-value sentinel.
- tail (required)
- Remaining access-log fields after status and response size.
- scannedFields (optional)
- Optional metadata already decoded by the C scanner.
- parsedTiming (optional)
- Optional timing dictionary already decoded by the C scanner.
- Returns:
- A normalized request dictionary, or an empty result for invalid fields.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)