Snowflake

The Snowflake output module allows you to write data to the Snowflake cloud database.

If your output parameters include a time parameter, these are recorded with a matching timestamp, creating a historical record of your data.

If you omit the time parameter, it will act like a simple key-value store, with the values being overwritten.

ParameterDefaultMeaning
userThe name of the database user
passwordThe database password
accountThe full account name to connect to
warehouseThe data warehouse where the table is found
schemaThe schema where the table is found
databaseThe name of the database
tableThe name of the table to connect to
nameThe name of the field to write the point name to
valueThe name of the field to write the value to
timeThe name of the field to write the time to (if any)

Example

[
   {
       "method": "snowflake",     
       "user": "myuser",   
       "password": "mypass",
       "warehouse": "WH_COMPUTE",
       "schema": "sensordata",
       "database": "alertdb",
       "table": "alerts",
       "name": "code",
       "value": "status",
       "time": "stamp"
   }
]

The above example would connect to Snowflake and write to the alertdb database, located within the sensordata schema. When new values appear, they'd be written to the alerts table, with the point name in the code column and the value in the status column.

Other Modules

Return to the list of output modules.