CentraSite 10.5 | CentraSite User’s Guide | Runtime Governance | Runtime Events and Key Performance Indicator (KPI) Metrics | Managing Runtime Event Store | Managing Runtime Event Store Through the Command Line Interface | Fetching State of Run-Time Event Store
 
Fetching State of Run-Time Event Store
Pre-requisites:
To fetch the current state of an active run-time event store through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named state runtimeEvent for this purpose.
*To fetch the current state of run-time event store
*Run the command state runtimeEvent.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd state runtimeEvent -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>]
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the CentraSite user identified by the parameter USER-ID.
The possible values for this command:
* ok - Indicates the legacy mode of run-time event storage.
* flat - Indicates the enhanced mode of run-time event storage.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd state runtimeEvent -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite
The response to this command could be:
Executing the command : state runtimeEvent
=================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2"
xmlns:xql= "http://metalab.unc.edu/xql/">
<ino:message ino:returnvalue="0">
<ino:messageline>starting admin command
ino:RuntimeEvents(&#39;state&#39;)
</ino:messageline>
</ino:message>
<RuntimeEvents>
<Type>flat</Type>
<Count>0</Count>
</RuntimeEvents>
<ino:message ino:returnvalue="0">
<ino:messageline>admin command
ino:RuntimeEvents(&#39;state&#39;) completed
</ino:messageline>
</ino:message>
</ino:response>
=================================================================
….
Successfully executed the command : state runtimeEvent