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
Copy file name to clipboardExpand all lines: articles/time-series-insights/time-series-insights-how-to-add-an-event-source-iothub.md
+31-30Lines changed: 31 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,36 +60,37 @@ To add a new consumer group to your IoT hub:
60
60
1. Select a value for **Import option**:
61
61
62
62
* If you already have an IoT hub in one of your subscriptions, select **Use IoT Hub from available subscriptions**. This option is the easiest approach.
63
-
* If the IoT hub is external to your subscriptions, or if you want to choose advanced options, select **Provide IoT Hub settings manually**.
64
-
65
-
[](media/time-series-insights-how-to-add-an-event-source-iothub/iothub_three.png#lightbox)
66
-
67
-
- The following table describes the properties that are required for the **Use IoT Hub from available subscriptions** option:
68
-
69
-
[](media/time-series-insights-how-to-add-an-event-source-iothub/iothub_four.png#lightbox)
70
-
71
-
| Property | Description |
72
-
| --- | --- |
73
-
| Subscription ID | Select the subscription in which the IoT hub was created.
74
-
| IoT hub name | Select the name of the IoT hub.
75
-
| IoT hub policy name | Select the shared access policy. You can find the shared access policy on the IoT hub settings tab. Each shared access policy has a name, permissions that you set, and access keys. The shared access policy for your event source *must* have **service connect** permissions.
76
-
| IoT hub policy key | The key is prepopulated.
77
-
| IoT hub consumer group | The consumer group that reads events from the IoT hub. We highly recommend that you use a dedicated consumer group for your event source.
78
-
| Event serialization format | Currently, JSON is the only available serialization format. The event messages must be in this format or no data can be read. |
79
-
| Timestamp property name | To determine this value, you need to understand the message format of the message data that's sent to the IoT hub. This value is the **name** of the specific event property in the message data that you want to use as the event timestamp. The value is case-sensitive. If left blank, the **event enqueue time** in the event source is used as the event timestamp. |
80
-
81
-
1. The following table describes the required properties for the **Provide IoT Hub settings manually**:
82
-
83
-
| Property | Description |
84
-
| --- | --- |
85
-
| Subscription ID | The subscription in which the IoT hub was created.
86
-
| Resource group | The resource group name in which the IoT hub was created.
87
-
| IoT hub name | The name of your IoT hub. When you created your IoT hub, you entered a name for the IoT hub.
88
-
| IoT hub policy name | The shared access policy. You can create the shared access policy on the IoT hub settings tab. Each shared access policy has a name, permissions that you set, and access keys. The shared access policy for your event source *must* have **service connect** permissions.
89
-
| IoT hub policy key | The shared access key that's used to authenticate access to the Azure Service Bus namespace. Enter the primary or secondary key here.
90
-
| IoT hub consumer group | The consumer group that reads events from the IoT hub. We highly recommend that you use a dedicated consumer group for your event source.
91
-
| Event serialization format | Currently, JSON is the only available serialization format. The event messages must be in this format or no data can be read. |
92
-
| Timestamp property name | To determine this value, you need to understand the message format of the message data that's sent to the IoT hub. This value is the **name** of the specific event property in the message data that you want to use as the event timestamp. The value is case-sensitive. If left blank, the **event enqueue time** in the event source is used as the event timestamp. |
63
+
64
+
[](media/time-series-insights-how-to-add-an-event-source-iothub/iothub_three.png#lightbox)
65
+
66
+
* The following table describes the properties that are required for the **Use IoT Hub from available subscriptions** option:
67
+
68
+
[](media/time-series-insights-how-to-add-an-event-source-iothub/iothub_four.png#lightbox)
69
+
70
+
| Property | Description |
71
+
| --- | --- |
72
+
| Subscription ID | Select the subscription in which the IoT hub was created.
73
+
| IoT hub name | Select the name of the IoT hub.
74
+
| IoT hub policy name | Select the shared access policy. You can find the shared access policy on the IoT hub settings tab. Each shared access policy has a name, permissions that you set, and access keys. The shared access policy for your event source *must* have **service connect** permissions.
75
+
| IoT hub policy key | The key is prepopulated.
76
+
| IoT hub consumer group | The consumer group that reads events from the IoT hub. We highly recommend that you use a dedicated consumer group for your event source.
77
+
| Event serialization format | Currently, JSON is the only available serialization format. The event messages must be in this format or no data can be read. |
78
+
| Timestamp property name | To determine this value, you need to understand the message format of the message data that's sent to the IoT hub. This value is the **name** of the specific event property in the message data that you want to use as the event timestamp. The value is case-sensitive. If left blank, the **event enqueue time** in the event source is used as the event timestamp. |
79
+
80
+
* If the IoT hub is external to your subscriptions, or if you want to choose advanced options, select **Provide IoT Hub settings manually**.
81
+
82
+
The following table describes the required properties for the **Provide IoT Hub settings manually**:
83
+
84
+
| Property | Description |
85
+
| --- | --- |
86
+
| Subscription ID | The subscription in which the IoT hub was created.
87
+
| Resource group | The resource group name in which the IoT hub was created.
88
+
| IoT hub name | The name of your IoT hub. When you created your IoT hub, you entered a name for the IoT hub.
89
+
| IoT hub policy name | The shared access policy. You can create the shared access policy on the IoT hub settings tab. Each shared access policy has a name, permissions that you set, and access keys. The shared access policy for your event source *must* have **service connect** permissions.
90
+
| IoT hub policy key | The shared access key that's used to authenticate access to the Azure Service Bus namespace. Enter the primary or secondary key here.
91
+
| IoT hub consumer group | The consumer group that reads events from the IoT hub. We highly recommend that you use a dedicated consumer group for your event source.
92
+
| Event serialization format | Currently, JSON is the only available serialization format. The event messages must be in this format or no data can be read. |
93
+
| Timestamp property name | To determine this value, you need to understand the message format of the message data that's sent to the IoT hub. This value is the **name** of the specific event property in the message data that you want to use as the event timestamp. The value is case-sensitive. If left blank, the **event enqueue time** in the event source is used as the event timestamp. |
93
94
94
95
1. Add the dedicated Time Series Insights consumer group name that you added to your IoT hub.
0 commit comments