View Export Log Stream Progress Report

Contents


1   Description

This instruction describes how to view the ongoing progress report or the result of the last export operation performed on a registered log stream. There is no historical information about earlier export operation results.

2   Procedure

2.1   View Export Log Stream Progress Report

Prerequisites

Steps

  1. Navigate to the Log managed object, for example:

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

  2. Display the progress report for the operation:

    (Log=saLogSystem)>show reportProgress

    The following is an example output:

    reportProgress
       actionName="EXPORT"
       additionalInfo
          "saLogSystem_20170405_030858.gz is being exported."
       progressInfo=""
       progressPercentage=50
       result=NOT_AVAILABLE
       resultInfo="Export action is running. Please wait for a while!"
       state=RUNNING
       timeActionCompleted="1970-01-01T00:00:00"
       timeActionStarted="2017-04-05T03:08:58"
       timeOfLastStatusUpdate="2017-04-05T03:08:58"
    Note:  
    Since a long-running operation can be executing, it can be required to enter the command several times until the final operation result is shown in the progress report.

    Progress information can be read displaying attributes in reportProgress. The progression of the values of important attributes during execution of an export operation is shown in Table 1.

    If the operation is successful, subattribute result=SUCCESS.

    If the operation is unsuccessful, subattribute result=FAILURE and subattribute resultInfo in attribute reportProgress reports an explanatory text message.

Table 1    Progress Values for Main Subattributes

Subattribute Name

Initial Value

Next Value

Next Value

Final Value

progressPercentage

0

25

50

100

state

FINISHED

RUNNING

RUNNING

FINISHED

result

NOT_AVAILABLE

NOT_AVAILABLE

NOT_AVAILABLE

SUCCESS

timeActionCompleted

1970-01-01T01:00:00

1970-01-01T01:00:00

1970-01-01T01:00:00

2017-04-05T03:34:43

Note:  
Value 1970-01-01T01:00:00 shown for subattribute timeActionCompleted is used by default when no real value exists yet.