Exploring Amazon IoT Analytics data - Amazon IoT Analytics
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Exploring Amazon IoT Analytics data

You have several options for storing, analyzing and visualizing your Amazon IoT Analytics data.

Amazon S3

You can send dataset contents to an Amazon Simple Storage Service (Amazon S3) bucket, enabling integration with your existing data lakes or access from in-house applications and visualization tools. See the field contentDeliveryRules::destination::s3DestinationConfiguration in CreateDataset.

Amazon IoT Events

You can send dataset contents as an input to Amazon IoT Events, a service which enables you to monitor devices or processes for failures or changes in operation, and to trigger additional actions when such events occur.

To do this, create a dataset using CreateDataset and specify an Amazon IoT Events input in the field contentDeliveryRules :: destination :: iotEventsDestinationConfiguration :: inputName. You must also specify the roleArn of a role which grants Amazon IoT Analytics permission to execute "iotevents:BatchPutMessage". Whenever the dataset's contents are created, Amazon IoT Analytics will send each dataset content entry as a message to the specified Amazon IoT Events input. For example, if your dataset contains:

"what","who","dt" "overflow","sensor01","2019-09-16 09:04:00.000" "overflow","sensor02","2019-09-16 09:07:00.000" "underflow","sensor01","2019-09-16 11:09:00.000" ...

then Amazon IoT Analytics will send messages containing fields like this:

{ "what": "overflow", "who": "sensor01", "dt": "2019-09-16 09:04:00.000" }
{ "what": "overflow", "who": "sensor02", "dt": "2019-09-16 09:07:00.000" }

and you will want to create an Amazon IoT Events input that recognized the fields you are interested in (one or more of what, who, dt) and to create an Amazon IoT Events detector model that uses these input fields in events to trigger actions or set internal variables.

Jupyter Notebook

Amazon IoT Analytics datasets can also be directly consumed by Jupyter Notebook in order to perform advanced analytics and data exploration. Jupyter Notebook is an open source solution. You can install and download from http://jupyter.org/install.html. Additional integration with SageMaker, an Amazon hosted notebook solution, is also available.