Typical Workflow for Developing Analytics

Add analytics to your IoT applications to process and analyze the data from your sensors and devices. Create components to read data from devices and data sources, perform the analytics, write to a target data storage, and communicate the results of your analytics processing.

Follow this workflow to develop analytics in Oracle Internet of Things Cloud Service. Optional and conditional steps are marked in the table.

Task Description More Information
Create an IoT application.

Create an IoT application or use an existing one.

Creating a New Application

Create device models.

(Conditional) If you’re using an existing IoT application, it probably already contains device models. If you create a new application, you must create one or more device models.

Creating a New Device Model

Create device message links.

(Conditional) If your data comes from streaming devices, use device message links to read data from your devices.

Use Device Message Links to Read Device Data

Create analytics objects.

Use analytics objects to define the structure of the data that you read from data source and write to data to a target data storage.

The message formats you defined in your IoT application are automatically available as analytics objects when you create a device message link.

Create Analytics Objects

Create links to data sources.

Use these links to read and write persistent data.

You can access the following data sources:

  • Oracle Database Cloud Service

  • Oracle Cloud Infrastructure Object Storage Classic

Use Links to Access Oracle NoSQL Database Cloud

Use Links to Access Oracle Database Cloud Service

Use Links to Access Oracle Cloud Infrastructure Object Storage Classic

Create analyzed message links.

Use analyzed message links to deliver the results of your analytics processing.

Use Analyzed Message Links to Deliver Analytics Results

Create links to access your SQL queries.

You can access the queries that you defined in your worksheets from your analytics processor.

Use Links to Access Your SQL Queries

Create worksheets and define queries.

(Optional) Create worksheets and define queries to interactively explore your data.

You can use queries from the code in your analytics processor.

Create Worksheets

Add Queries to a Worksheet

Discover Data
Create analytics processors.

Define the logic to access your data sources, perform the analytics, store data, and send messages and alerts.

The type of analytics processor depends on the origin of your data. If you’re reading data from streaming devices, then use a streaming analytics processor. If you’re reading large batches of data, then use a batch analytics processor.

Create Streaming Analytics Processors

Create Batch Analytics Processors

Import libraries.

(Optional) Import the libraries that you need to use from you analytics processor.

Import Libraries

Deploy your application.

Deploy your application to start performing the analytics.

When you deploy your application, you can configure the resource allocation for that application.

Deploy Analytics

Monitor your application.
After you deploy your application, you can:
  • Monitor the activity of the links and analytics processors.

  • View the logs for your applications.

  • View the documentation for the available REST endpoints to access your application using REST.

View Analytics Logs

View Application REST Endpoints