nsmcp::LogCorrelation method accessFileSummary (public)

 <instance of nsmcp::LogCorrelation[i]> accessFileSummary options \
    redactor [ publish ]

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-unified.tcl

Summarize access-log files using validated options. Select discovered sources and invoke the bounded file scanner with the requested redactor and progress callback.

Parameters:
options (required)
Tcl dictionary containing the operation options.
redactor (required)
Redactor object applied before returning diagnostic evidence.
publish (optional)
Optional progress-publication callback.
Returns:
The access-file summary result.

Testcases:
No testcase defined.
Source code:
set paths {}
set directory {}
foreach source ${:accessSearches} {
    lappend paths [$source cget -path]
    if {$directory eq ""} {
        set directory [$source cget -cacheDirectory]
    }
}
if {$paths eq ""} {
    error "No access-log source is configured"
}
return [:accessFileScan $paths $directory $options $redactor {} $publish]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: