Data modeling in Azure Time Series Insights Gen2

Note

The Time Series Insights service will be retired on 7 July 2024. Consider migrating existing environments to alternative solutions as soon as possible. For more information on the deprecation and migration, visit our documentation.

This article describes how to work with Time Series Model in Azure Time Series Insights Gen2. It details several common data scenarios.

Tip

Instances

The Azure Time Series Insights explorer supports Instance CREATE, READ, UPDATE, and DELETE operations within the browser.

To begin, select the Model view from the Azure Time Series Insights explorer Analyze view.

Create a single instance

  1. Go to the Time Series Model selector panel, and select Instances from the menu. All instances associated with your selected Azure Time Series Insights environment will be displayed.

    Create a single instance by first selecting Instances.

  2. Select + Add.

    Add an instance by selecting the + Add button.

  3. Enter the instance details, select the type and hierarchy association, and select Create.

Bulk upload one or more instances

Tip

You may save your instances to your desktop in JSON.The downloaded JSON file can then be uploaded through the following steps.

  1. Select Upload JSON.

  2. Select the file that contains the instances payload.

    Bulk upload instances through JSON.

  3. Select Upload.

Edit a single instance

  1. Select the instance, and select the edit or pencil icon.

  2. Make the required changes, and select Save.

    Edit a single instance.

Delete an instance

  1. Select the instance, and select the delete or waste bin icon.

    Delete an instance by selecting Delete.

  2. Confirm deletion by selecting Delete.

Note

An instance must successfully pass a field validation check to be deleted.

Hierarchies

The Azure Time Series Insights explorer supports Hierarchy CREATE, READ, UPDATE, and DELETE operations within the browser.

To begin, select the Model view from the Azure Time Series Insights explorer Analyze view.

Create a single hierarchy

  1. Go to the Time Series Model selector panel, and select Hierarchies from the menu. All hierarchies associated with your selected Azure Time Series Insights environment will be displayed.

    Create a hierarchy through the pane.

  2. Select + Add.

    Hierarchy + Add button.

  3. Select + Add level in the right pane.

    Add a level to the hierarchy.

  4. Enter the hierarchy details, and select Save.

    Specify hierarchy details.

Bulk upload one or more hierarchies

Tip

You may save your hierarchies to your desktop in JSON.The downloaded JSON file can then be uploaded through the following steps.

  1. Select Upload JSON.

  2. Select the file that contains the hierarchy payload.

  3. Select Upload.

    Selections for bulk upload of hierarchies.

Edit a single hierarchy

  1. Select the hierarchy, and select the edit or pencil icon.

  2. Make the required changes, and select Save.

    Selections for editing a single hierarchy.

Delete a hierarchy

  1. Select the hierarchy, and select the delete or waste bin icon.

    Delete a hierarchy by selecting the Delete button.

  2. Confirm deletion by selecting Delete.

Types

The Azure Time Series Insights explorer supports Type CREATE, READ, UPDATE, and DELETE operations within the browser.

To begin, select the Model view from the Azure Time Series Insights explorer Analyze view.

Create a single type

  1. Go to the Time Series Model selector panel, and select Types from the menu. All types associated with your selected Azure Time Series Insights environment will be displayed.

    Time Series Model types pane.

  2. Select + Add to display the Add a new type popup modal.

  3. Enter properties and variables for your type. Once entered, select Save.

    Configuration settings to add a type.

Bulk upload one or more types

Tip

You may save your types to your desktop in JSON.The downloaded JSON file can then be uploaded through the following steps.

  1. Select Upload JSON.

  2. Select the file that contains the type payload.

  3. Select Upload.

    Bulk types uploading options.

Edit a single type

  1. Select the type, and select the edit or pencil icon.

  2. Make the required changes, and select Save.

    Edit a type in the pane.

Delete a type

  1. Select the type, and select the delete or waste bin icon.

    Delete a type by selecting Delete.

  2. Confirm deletion by selecting Delete.

Next steps