nsmcp::LogRecordParser method validConnectionIdentifier (public)
<instance of nsmcp::LogRecordParser> validConnectionIdentifier \ identifier
Defined in /usr/local/ns/tcl/nsmcp/log-record.tcl
Validate a complete connection-thread identifier. Require the server, pool, worker and request fields of the connection identifier.
- Parameters:
- identifier (required)
- Complete log-thread identifier, or the raw identifier field when parsing access records.
- Returns:
- True for a valid connection identifier, otherwise false.
- Testcases:
- No testcase defined.
Source code: return [regexp {^-conn:[^:\[\]\r\n]+:[^:\[\]\r\n]+:[0-9]+:[0-9]+-$} $identifier]XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)