::nsmcp::Object ::nsmcp::Object destroy dict getdef ::nx::Object ::nx::Object ::nsmcp::Object->::nx::Object ::nsmcp::SystemLogPeers ::nsmcp::SystemLogPeers → add → assessmentFields → candidates → fields ::nsmcp::SystemLogPeers->::nsmcp::Object

Class ::nsmcp::SystemLogPeers

::nsmcp::SystemLogPeers[i] create ...

Defined in /usr/local/ns/tcl/nsmcp/log-summary.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsmcp::Object[i]

Methods (to be applied on the object)

  • add (scripted, public)

     nsmcp::SystemLogPeers[i] add statsVar message includeAddresses \
        [ timestamp ] [ offset ]

    Count one selected physical record before grouping and sampling.

    Parameters:
    statsVar (required)
    Caller-owned bounded peer accumulator.
    message (required)
    Original logical record before redaction.
    includeAddresses (required)
    Whether the caller requested authorized addresses.
    timestamp (optional)
    Parsed warning time for optional context sampling.
    offset (optional, defaults to "0")
    Original warning byte offset.

    Testcases:
    No testcase defined.
  • assessmentFields (scripted, public)

     nsmcp::SystemLogPeers[i] assessmentFields candidate sequences available \
        [ scope ]

    Classify observed behavior using bounded same-peer access context.

    Parameters:
    candidate (required)
    One exact peer and its warning samples.
    sequences (required)
    Nearby access records in sample order.
    available (required)
    Whether the access correlation completed.
    scope (optional, defaults to "nearby-warning-window")
    Returns:
    Typed JSON fields with behavior, confidence and evidence limits.

    Testcases:
    No testcase defined.
  • candidates (scripted, public)

     nsmcp::SystemLogPeers[i] candidates stats

    Select bounded exact-peer samples from the full warning ranking.

    Parameters:
    stats (required)
    Full-window authorized peer accumulator.
    Returns:
    Up to five ranked peers, each with at most two warning samples.

    Testcases:
    No testcase defined.
  • fields (scripted, public)

     nsmcp::SystemLogPeers[i] fields stats limit includeAddresses scanComplete

    Serialize all-window source counts and bounded authorized rankings.

    Parameters:
    stats (required)
    limit (required)
    includeAddresses (required)
    scanComplete (required)
    Returns:
    Typed JSON fields with explicit unknown and omission counts.

    Testcases:
    No testcase defined.