Configure Automatic Log Streaming

Contents


1   Description

This instruction describes how to configure automatic log streaming to an external storage system. Log entries for all log streams registered with the Log Management Framework can be automatically forwarded to an external storage location.

In CBA, only one common destination is used for automatic log streaming of all log streams.

2   Procedure

2.1   Configure Automatic Log Streaming

Prerequisites

Steps

  1. Are certificates to support passwordless streaming towards the URI installed on the managed element?

    Yes: Proceed with Step 3.

    No: Continue with the next step.

  2. Configure the required certificates. At least one NodeCredential MO and one TrustCategory MO are required. Refer to Create Trust Category and Install Node Credential Online operating instructions for details.
  3. Navigate to the LogM managed object, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,LogM=1

  4. Enter Config mode:

    (LogM=1)>configure

  5. To enable automatic log streaming, set both trustCategory and nodeCredential attributes to have a valid managed object reference to the created managed objects belonging to SecM=1,CertM=1 in Step 2, for example:
    • (config-LogM=1)>trustCategory="ManagedElement=NODE06ST,SystemFunctions=1,SecM=1,CertM=1,TrustCategory=1"

    or

    • (config-LogM=1)>nodeCredential="ManagedElement=NODE06ST,SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1"

    Alternatively, to disable automatic log streaming, set both trustCategory and nodeCredential attributes to empty values:

    • (config-LogM=1)>no trustCategory
    • (config-LogM=1)>no nodeCredential
  6. Commit the setting:

    (config-LogM=1)>commit

  7. Navigate to the LogPushTransfer managed object, for example:

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

  8. Verify that the log streaming is operational:

    (LogPushTransfer=1)>show operationalState

    Output:

    operationalState=ENABLED

    If streaming is disabled or an error occurs during the streaming operation, operationalState=DISABLED is displayed. For more details, refer to View Status of Automatic Log Streaming operating instructions.