Normalized events schema
Normalized events basic schema
Field | Type |
| string |
The event type that identifies the asset. | |
| string |
The abbreviation of the channel. | |
| double |
The value converted to the standard unit of measurement. | |
| string |
The unit of measurement after the conversion | |
| long |
The date of reception of the measurement. It can change if the data is re-normalized. It should not be used as the measurement date. |
As we will see in the next chapter, the index of each measurement may vary according to the context, basically if the date and/or the depth can be inferred for each data source.
Debug mode
If the option Include raw fields
is marked on the asset normalization configuration, an extra set of fields is added to each event. This is useful for troubleshooting and audit reasons.
Field | Type |
| double |
The original value. | |
| string |
The original unit of measurement. | |
| string |
The original mnemonic (abbreviation for the channel name). | |
| double |
The value after conversion. This can be different from the | |
| long |
The date that the event was received by the collector (while |
Errors
If any error occurs in the normalization the normalized event will contain an errors field. This field will be a list of all the related errors, please see below the possible values
Flag | Reason |
| Raw data is missing the value |
| Raw data is missing the unit |
| Raw data have an unknown unit |
| Target channel has an unknown unit |
| It's not possible to do the unit conversion |
| After the conversion, the value is too low |
| After the conversion, the value is too high |
| Raw data unit has an error, however, LIVE was able to fix it (see below) |
| Raw data value isn't a valid number |
| It was not possible to normalize the |
| It was not possible to normalize the |
| Unit error, however, LIVE was able to fix it (see below) |
Unit automatic fixes
The normalization process tries to fix the unit automatically when either the source unit or the target unit are not one of those described by the Energistics standard dictionary.
The default unit conversions supported by Live are described in the unit conversion page. Additional conversions are also supported by customizing the unit management tools:
Additional fields
Normalized event contains some additional compressed fields in order to save space. They may be expanded as following:
Field | Pipes function | Meaning |
|
| Expand the normalization configuration at that moment |
|
| Expand the normalization channels mapping at that moment |
Usage example:
Results:
Last updated