Sending Events to the Cloud Immediately

Observations defined on an Octave-enabled edge device, can be configured to route events directly to the cloud where they are stored in a Stream. From here they can be optionally processed in the cloud using a Cloud Action.

The steps below describe how to configure an Observation to route events directly to the cloud. In this example, the Observation is configured to read the value from the mangOH Red's built-in light sensor, and send an event with its value immediately to the cloud:

  1. Navigate to Device > Observations.
  2. Click Add Observation.
  3. Click on Observed Resource and select /redSensor/light/value.
  4. Enter a descriptive name into the Observation name field.
  5. Set Send events to to Cloud Stream.
  6. Click Save to save the Observation.
  7. Navigate to Device > Streams and locate the new stream corresponding to the Observation created above.
  8. Click on the stream and inspect its events.

📘

Note

An event is stored in a stream with additional meta-data including the time at the edge, as well as the time received in the cloud. Having both of these times available for each event is important for more sophisticated data orchestration strategies.