Defined in
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
-
No testcase defined.
Source code:
set sample [list fileIndex number [dict get $file fileIndex] sourceIndex number [dict get $file source] rotation boolean [dict get $file rotation] offset number $offset offsetBasis string [expr {[dict get $file compressed] ? "decompressed" : "file"}]]
foreach key {requestIdentifier method status pool authenticationState startTime recordSource driver phaseTimingReason} {
lappend sample $key [expr {$key in {status startTime} ? "number" : "string"}] [dict get $row $key]
}
lappend sample requestIdentifierUnique boolean [dict get $row requestIdentifierUnique] phaseTimingAvailable boolean [dict get $row phaseTimingAvailable]
lappend sample path string [$redactor message [string range [dict get $row path] 0 511]] pathTruncated boolean [expr {[string length [dict get $row path]]>512}]
if {[dict exists $row userAgent]} {
lappend sample userAgent string [$redactor message [string range [dict get $row userAgent] 0 511]] userAgentTruncated boolean [expr {[string length [dict get $row userAgent]]>512}]
}
return $sample
XQL Not present:Generic, PostgreSQL, Oracle