Resources | node | oam | eventLog | typeAdmin

typeAdmin

Event log for configuration items related to each event log type.

Configuration

ParameterPresenceTypeDefaultDescription
typeMenumeration The type of the event log. Each type has separate configuration parameters and logs to a separate file.
filterLevelOunioninherit-global-configuration Events that are at least as severe as the designated level will be logged. noevents suppresses all events of this type from being logged.
compressionDaysToKeepOint325 Specifies the number of days to keep compressed logs
compressionCleanupDirectoryOstring Alternate directory name (containing no slashes) under the log file directory from which compressed files will be removed after compressionDaysToKeep days
encryptFileOenumerationdisabled Encrypt the log file
encryptionPublicKeyOstring the public key used to encrypt the log file. Enter only the public key contents, excluding the ssh-rsa and the email address at the end of the key
cdrFileTransferTypeOenumerationuncompressed The type of accounting file to transfer

Operations

Operation NameDescription
rolloverLogNow Rollover log now
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusNodeList:node={nodeName}/sonusNodeListOrca:oam/sonusNodeListGen2EventLog:eventLog/typeAdmin={type}

RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusNodeList:node={nodeName}/sonusNodeListOrca:oam/sonusNodeListGen2EventLog:eventLog --data '
<typeAdmin>
     <type>{type}</type>
</typeAdmin>
'

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusNodeList:node={nodeName}/sonusNodeListOrca:oam/sonusNodeListGen2EventLog:eventLog/typeAdmin={type}

  • No labels