Data collection
HTTP data collection
This section shows how to use OpenGate HTTP connector for data collection.
Note about data streams with special platform processing
Besides de spec info you can find below, it’s worth considering there are two data streams with a special platform processing rules: device.identifier
and device.topology.path
.
These data streams matches with fields outside de list of data streams in the collection JSON. Due to this special treatment, these data streams will never be collected from de list of data streams and it will be collected from their fields in the collection JSON.
If you want to collect the data stream device.topology.path
you have to fill in the field path
of the collection JSON. Or, in case of the device is directly behind a gateway, you can remove the field path
and fill in the field device
in the collection JSON, OpenGate will collect the data stream device.topology.path
with the gateway identifier.
Also if you want to collect the data stream device.identifier
you have to fill in the field device
of the collection JSON. If you don’t fill in this field OpenGate will collect the data stream device.identifier
from the device_id
, that is the gateway, in the URI and all data in data streams array will be store in the gateway collected info.