WITS Custom Mapping
This feature allows defining a customized mapping for data coming from a source using WITS protocol. It is important to state that this is not about data normalization, the WITS Custom Mapping is used to create the raw event.
How it works
WITS data is sent in the following format:
Each entry obeys the following convention:
The first and second digits represent the
wits_record
Third and fourth digits represent the
wits_item
Fifth onwards represents the value of the mnemonic
Knowing that we can use a WITS Custom Mapping to associate each entry of the above list to a mnemonic and parse those data in the following format:
UOM, unit of measurement, can be independently defined for each mnemonic when creating a custom mapping via Live interface.
If there is no mapping for a specific entry it will be parsed as a mnemonic identified by the concatenation of “WITS” + wits_record + wits_item as it was done for entries 019999, 313233, and 9999END in the previous example.
Creating a WITS Custom Mapping
A customizes mapping, which will be used to parse WITS data coming from a source, can be created going to Live interface > Configurations > WITS Custom Mapping
Click New map
and enter an Identifier which will be used to identify your list later. The Identifier cannot be changed after defined, it will be the unique identifier of your custom mapping. The field Description
is not mandatory, and it can be used to briefly describe the purpose of the custom mapping. After setting both fields, click Save
.
Fill the lines according to the rules informed above. Remember that RECORD
and ITEM
will identify the entries received from the source and map that to the given MNEMONIC
and UOM
.
Column | Description |
---|---|
RECORD | The first part of the composite key, which identifies the mnemonic |
ITEM | The second part of the composite key which identifies the mnemonic |
DESCRIPTION | Briefly description of the mnemonic |
MNEMONIC | Mnemonic name |
TYPE | Should be "A" for Alphanumeric, "L", "S" or "F" for number |
UOM | Unit of measurement |
Editing a WITS Custom Mapping
To edit a WITS Custom Mapping previously created, go to Live interface > Configurations > WITS Custom Mapping
to list all mappings available.
After that, just click the list to be edited and it will show the same screen used for creation.
Last updated