Manage data

Once your Edge Site is installed and running, you can begin to process data through the site.

Import to edge

To add recordings to your site:

  1. Upload the recording to the storage volume for the site.
  2. Make an HTTP POST request to the edge controller /v1/recordings endpoint. The request body must include a path (string path to the recording within the storage volume) and deviceName (for the recording):
$ curl -X POST http://my-edge-site/v1/recordings \
    -d '{"path": "path/to/log.mcap", "deviceName": "my-device"}'

Once successfully uploaded to your Edge Site, your recording will appear on the Foxglove web console's Recordings page and be available via the recordings API endpoint.

Import to cloud

To access data from your Edge Site, you must first import it to your Primary Site in the cloud.

Queue import for any edge recording using the Foxglove API or the Foxglove web console. The Edge Site will process this queue using available bandwidth resources.

Once import to your Primary Site is complete, you can use the full suite of Foxglove APIs to access the recording.