Previous Topic: getObjectDefinitionNext Topic: getCombinedModel


getDataModel

Use the getDataModel command to show formatting data specific to the Common Event Grammar (CEG). The CEG contains all the possible event fields contained in the schema, a description of each field and possible values for each field (if applicable). You can correctly identity CEG fields for any filtering you want to include in a call.

getDataModel Example

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

Returns the following XML:

<?xml version="1.0" encoding="UTF-8" ?> 
<Result>
<Value>true</Value> 
<Description>Get Object Successful. Type [getDataModel]</Description> 
<CommonEventGrammar version="12.0.45.4">
  			....
<field name="event_logname" type="S" class="" category="event" index="y" desc="The name of the log expressed in the event information.">
<values>
			<value>ACF2</value> 
			<value>Apache</value> 
			<value>AuditEngine</value>   

The "field name=" element displays the CEG field, in this case event_logname.

Each CEG field has a type, which is displayed in the "type=" element.