Previous Topic: getIncidentModel

Next Topic: getGlobalSettings

getELMServers

Use the getELMServers command to return a list of available CA Enterprise Log Manager servers to run queries against.

getELMServers Example

https://ELMSERVER:5250/spin/calmapi/getObject.csp?type=getELMServers

Returns the following XML:

<?xml version="1.0" encoding="UTF-8" ?> 
<Result>
	<Value>true</Value>
	<Description>Get Object Successful. Type [getELMServers]</Description>
	<service type="service" name="Event Log Store" id="/CALM_Configuration/Modules/logDepot/Config" edit="true" updated="1232571794" global_config="true">
	<service type="host" name="machinename" id="/CALM_Configuration/Modules/logDepot/machinename/Config" edit="true" service_name="Event Log Store" updated="1232571795" />
	</service>
</Result>

This example shows only one server, where the attribute “type=host” indicates a CA Enterprise Log Manager server host name, in this case "machinename". There can be one or more hosts specified. Each XML "service" element represents a single CA Enterprise Log Manager server.