Class ::nsmcp::LogDiscovery

::nsmcp::LogDiscovery[i] create ... \
           [ -accessLog (default "") ] \
           [ -cacheDirectory (default "") ] \
           [ -systemLog (default "") ]

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

Class Relations

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

Methods (to be applied on instances)

  • createCorrelation (scripted, public)

     <instance of nsmcp::LogDiscovery[i]> createCorrelation name

    Create a named correlation service for the discovered sources. Validate the object name and source availability, then create the searches owned by the correlation object; clean up on failure.

    Parameters:
    name (required)
    Name of the configured or registered item to resolve.
    Returns:
    The newly created correlation object command.

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

     <instance of nsmcp::LogDiscovery[i]> discover

    Resolve the effective system-log and access-log sources. Combine configured overrides with runtime discovery and retain availability and origin metadata.

    Returns:
    The discovered log-source dictionary.

    Testcases:
    No testcase defined.