You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to create a dedicated consumer group in your IoT hub to stream telemetry to Time Series Insights. An event source in Time Series Insights should have the exclusive use of an IoT Hub consumer group.
30
+
31
+
The following steps use the Azure CLI in the Azure Cloud Shell to create the consumer group:
32
+
33
+
1. The IoT hub is one of several resources created when you deployed the Device Simulation solution accelerator. Execute the following command find the name of your IoT hub - remember to use the name of your solution accelerator:
34
+
35
+
```azurecli-interactive
36
+
az resource list --resource-group contoso-simulation -o table
37
+
```
38
+
39
+
The IoT hub is the resource of type **Microsoft.Devices/IotHubs**.
40
+
41
+
1. Add a consumer group called **devicesimulationtsi** to the hub. In the following command use the name of your hub and solution accelerator:
[Azure Time Series Insights](../../articles/time-series-insights/time-series-insights-overview.md) is a fully managed analytics, storage, and visualization service for managing IoT-scale time-series data in the cloud. To create a new Time Series Insights environment:
52
+
53
+
1. Sign in to the [Azure portal](https://portal.azure.com/).
54
+
55
+
1. Select **Create a resource** > **Internet of Things** > **Time Series Insights**:
56
+
57
+

58
+
59
+
1. To create your Time Series Insights environment in the same resource group as your solution accelerator, use the values in the following table:
60
+
61
+
| Setting | Value |
62
+
| ------- | ----- |
63
+
| Environment Name | The following screenshot uses the name **Contoso-TSI**. Choose your own unique name when you complete this step. |
64
+
| Subscription | Select your Azure subscription in the drop-down. |
65
+
| Resource group | **contoso-simulation**. Use the name of your solution accelerator. |
66
+
| Location | This example uses **East US**. Create your environment in the same region as your Device simulation accelerator. |
67
+
| Sku |**S1** |
68
+
| Capacity | **1** |
69
+
70
+

71
+
72
+
> [!NOTE]
73
+
> Adding the Time Series Insights environment to the same resource group as the solution accelerator means that it's deleted when you delete the solution accelerator.
74
+
75
+
1. Click **Create**. It can take a few minutes for the environment to be created.
76
+
77
+
## Create event source
78
+
79
+
Create a new event source to connect to your IoT hub. Use the consumer group you created in the previous steps. A Time Series Insights event source requires a dedicated consumer group not in use by another service.
80
+
81
+
1. In the Azure portal, navigate to your new Time Series Environment.
> You can [grant additional users access](../../articles/time-series-insights/time-series-insights-data-access.md#grant-data-access) to the Time Series Insights explorer.
28
112
29
113
## Start a simulation
30
114
@@ -74,7 +158,13 @@ The Time Series Insights explorer is a web app you can use to visualize your tel
74
158
75
159

If you plan to explore further, leave the solution accelerator deployed.
164
+
165
+
If you no longer need the solution accelerator, delete it from the [Provisioned solutions](https://www.azureiotsolutions.com/Accelerators#dashboard) page, by selecting it, and then clicking **Delete Solution**.
166
+
167
+
If you added the Time Series Insights environment to the solution accelerator's resource group, it is automatically deleted when you delete the solution accelerator. Otherwise you must manually remove the Time Series Insights environment from the Azure portal.
0 commit comments