Feature: Event Forwarding

Overview

Feature forwards Support Analytics to another data collector. Currently, the Portal allows for adding an Event Forwarding URL. When Data Services sees the event URL, it will forward the data via POST.

Flow

  1. Admin goes to Org Edit (ie. host/admin/organizations/)
  2. Updates the Organization with the URL to forward events to.
  3. Feature is now ACTIVE, any device event received will be forwarded to the URL.
  4. Event API receives event
    • Event API updates Big Query
    • Event API Publishes the Event to GCP pub/sub
    • Pub Sub function recieves the event, forwards to Data Services 'anaylysis' event endpoint
    • Analysis determines if special event (ie. lowbattery), processes for Email
    • Analysis looks at the Organization, if forwarder URL, will post to that URL