Skip to main content

Sending Stream Data

Devices do not directly interact with LightDB Stream. Rather, device data is delivered to LightDB Stream via Pipelines. Projects may have one or more pipelines configured that deliver all or a subset of streaming data messages to LightDB Stream via the LightDB Stream data destination. See the Pipelines examples for more information.


By default, Pipelines use the time at which packets arrive at the Golioth platform as the timestamp for a data message. The data message timestamp will be used when delivered to LightDB Stream.

In some cases, it may be desirable to set a message's timestamp when sent from a device. This can be accomplished by using the extract-timestamp transformer in a pipeline that delivers data to LightDB Stream. This will result in a valid timestamp field in the device data payload being used for the data message timestamp.