Snowflake's data storage and analysis platform is a great option when designing your overall IoT data architecture. Today's release makes it easy to directly integrate Snowflake data with your Losant applications to deliver a variety of use cases:
This release adds the Snowflake Node, which can be used to query or insert data into your Snowflake tables.
The screenshot above demonstrates how to send your sensor data to Snowflake in real time. The Device State Trigger is invoked for all devices with common attribute configuration (allowing them to share the same Snowflake table). The Snowflake Node then uses an INSERT
statement to store the incoming attribute data. This is an example of using Snowflake to store a copy of your time-series data as a warm/cold storage option. Storing time-series data in Snowflake also makes it possible to use Snowflake's AI/ML capabilities to perform more complex analysis on your sensor data.
The Snowflake Node supports almost every Snowflake SQL command, which makes it possible to query data in a wide variety of ways.
The screenshot above is showing how Snowflake can be used to aggregate time-series data. This example demonstrates how Snowflake can be used to augment or expand the built-in aggregations provided by Losant's Data: Time-Series Node.
Data stored in Snowflake can be sensitive, so to ensure access is as secure as possible, this release adds the Snowflake Service Credential. Credentials stored in Losant have an extra layer of encryption and the underlying keys cannot be directly accessed once they've been saved.
When accessing Snowflake data using Application Workflows or Experience Workflows, this service credential is used for authentication. If you're accessing Snowflake data using Edge Workflows, the Snowflake Node directly accepts the authentication details. (Service Credentials are not supported in Edge Workflows.)
As always, this release comes with several other features and improvements, including:
1
or a 0
depending on the value of a string attribute. For example, an expression of {{value}} === 'error'
results in a 1
on the graph whenever the value is "error" and a 0
for all other values.With every new release, we listen to your feedback. By combining your suggestions with our roadmap, we can continue to improve the platform while maintaining its ease of use. Let us know what you think in the Losant Forums.