nsmcp::AccessLogIngestor method ingest (public)

 <instance of nsmcp::AccessLogIngestor[i]> ingest [ from ] \
    [ allowHistory ]

Defined in /usr/local/ns/tcl/nsmcp/lib/access-analytics.tcl

Parameters:
from (optional)
allowHistory (optional, defaults to "false")

Testcases:
No testcase defined.
Source code:
if {$from eq ""} {set from [expr {[clock seconds]-3600}]}
if {![string is entier -strict $from] || $from < 0} {error "expected an epoch-second window start"}
ns_mutex lock ${:mutex}
try {return [:ingestLocked $from $allowHistory]} finally {ns_mutex unlock ${:mutex}}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: