The Translator Collection section describes how to translate the parsed and manipulated data source record extracted in previous section to an CA Business Service Insight event.
When the interface mode is "online" the CA Business Service Insight event has a unified structure that contains the following fields:
When the interface mode is "offline" there are not any limitations on the number of the fields or on their name.
XML Structure:
<TranslatorCollection>
<Translator TranslatorName="events" OnDuplication = "ignore">
<TranslatorFields>
<TranslatorField Name="ResourceId" SourceType="table"
SourceName="ResourcesTranslateTable" Iskey="yes"/>
<TranslatorField Name="EventTypeId" SourceType="constant"
ConstantValue="1002" Iskey="yes"/>
<TranslatorField Name="Timestamp" SourceType="field"
SourceName="timestamp" Iskey="yes"/>
<TranslatorField Name="Value" SourceType="table"
SourceName="valueUpDownTranslateTable" Iskey="yes"/>
< TranslatorField Name="Value" SourceType ="field"
SourceName ="nodeName" Iskey="yes"/>
< TranslatorField Name="Value" SourceType ="constant"
Type="integer" ConstantValue="1000" Iskey="yes"/>
< TranslatorField Name="Value" SourceType ="field"
SourceName ="timestamp" TimeShift="-3600"
TimeShiftFieldName="createDate" Iskey="yes"/>
< TranslatorField Name="Value" SourceType ="lookup"
SourceName ="ServiceTable" LookupValue="word"
Iskey="yes"/>
</TranslatorFields>
</Translator>
</TranslatorCollection>
field: Value of this field is taken from field in the input format. The SourceName attribute contains the field name.
table: Value of the field is taken from the translation table. The SourceName attribute contains the table name.
lookup: Value of this field is taken from the translation table. The SourceName attribute contains the table name. The value to be translated is taken from the LookupValue attribute and not from the input format.
constant: Value of the field is constant and its value is in the ConstantValue attribute.
(See Event Singularity)
|
Copyright © 2012 CA.
All rights reserved.
|
|