Temporarily Disable Automatic Streaming on a Single Log Stream

Contents


1   Description

This instruction describes how to temporarily disable automatic log streaming on a single log stream.

Once Automatic Log Streaming is configured and operational for all registered log streams, it can be temporarily disabled on a per-stream basis by configuring the destination URI.

Upon any subsequent restart or failover scenario, the default URI is re-applied to all registered log streams and the previous configuration is re-applied.

2   Procedure

2.1   Temporarily Disable Automatic Streaming on a Single Log Stream

Prerequisites

Steps

  1. Navigate to the LogPushTransfer managed object for a registered log stream, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,LogM=1,Log=saLogSystem,LogPushTransfer=1

  2. Check the current destination uri:

    (LogPushTransfer=1)>show uri

    The following is an example output:

    uri="10.35.52.186:514"
  3. Enter Config Mode:

    (LogPushTransfer=1)>configure

  4. Set the uri attribute to empty string:

    (config-LogPushTransfer=1)>uri=””

  5. Commit the transaction:

    (config-LogPushTransfer=1)>commit

    The following is an example output of streaming which is disabled due to a fault:

    (LogPushTransfer=1)>show
    LogPushTransfer=1
       		availStatus
    		   IN_TEST
       operationalState=DISABLED
       transferType=STREAM
       uri=""
    
    Note:  
    Once temporarily disabled, the destination uri attribute can only be changed back to the default URI value which was initially configured, shown in Step 2 above.

    On any subsequent restart or failover scenario, this default uri value will automatically be re-applied to all registered log streams by the system. Automatic log streaming of all registered log streams, towards the default destination will resume.