• Docs
Show / Hide Table of Contents
  • Introduction
  • OneSense.io
    • Agreement Service
    • Login
    • Home page
    • GeoConfiguration
      • Regions
      • Locations
    • Devices
      • Device Profiles
      • Devices
      • Device Config
      • Device Groups
      • Pump Controller
      • Device Anomalies
    • Dashboards
      • Dashboards
      • Dashboard Templates
    • Operations
      • Rules
      • Sliding Window Rules
      • Timer Rules
      • Snowflake Rules
      • Alerts
      • Actions
      • Device Updates
    • Analytics
      • Device Availability
      • Device Alert Dashboard
    • Assets
    • Administration
      • Users
      • Roles
      • Subscription
      • Settings
      • External Applications
  • OneSense BLE Application
    • OneSense BLE App
  • OneSense Monitoring Station
    • Assembly Guide

Snowflake Rules


Prerequisite Setup

Check Icon
Before You Begin: First configure your Snowflake credentials in the Settings section: 1. Navigate to Administration → Settings
2. Select Vaults
3. Add your sfUser and sfPassword credentials

Exporting Devices Data to Snowflake


Alt Text
Step 1 : Open the Operations component from the sidebar and click on Export.

Export Location


Alt Text
Step 2 : The Snow Flakes page will open, displaying a list of all existing Snowflake rules. Each rule shows the Rule Id, Rule Name, Last Processed Time, and Job Status (InProgress, Queued, etc.).

Snowflake Rules List


Creating a New Snowflake Rule

Alt Text
Step 3 : Click on the Create New Snowflake button on the Snowflake Rules page.

Create New Snowflake


Alt Text
Step 4 : Select the devices you want to export. After selecting devices, a control box will appear with Device, Multiple Devices, Snowflake, and Action controls to configure the rule.

Snowflake Rule Controls


Alt Text
Step 5 : Fill in the Snowflake rule details:
  1. Select the Device and relevant Telemetries to be exported.
  2. If multiple devices are selected, choose the Multiple Devices option to group them.
  3. Configure the Snowflake export settings (such as database, schema, table, etc.).
  4. Add an Action to determine whether the export should start immediately or later.

Filled Snowflake Rule


Multiple Devices Grouping


Filled Snowflake Rule


Editing or Deleting a Snowflake Rule

Alt Text
Step 6 : To edit or delete a Snowflake rule, navigate to the Snowflake Rules page. Click on the settings (three dots) for the desired rule and select Edit or Delete.

Edit Delete Snowflake


Running and Managing Snowflake Rules

Alt Text
Step 7 : To start exporting data for a created rule, navigate to the Snowflake Rules page. Click on the settings (three dots) for the desired rule and select Start. This will begin the export process for that rule.

Start Snowflake Rule


Alt Text
Step 8 : To monitor the export progress, expand the Job Status of the rule. This will display detailed information including the Job ID, Last Execution Time, and current execution status.

Job Status Details


Alt Text
Step 9 : To stop an ongoing export, expand the Job Status and click on the Stop button under the Actions section. This allows you to start and stop Snowflake exports at any time as needed.

Previous
Timer Rules
Next
Alerts