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
The source stage is the first and required stage in an Azure IoT Data Processor (preview) pipeline. The source stage gets data into the data processing pipeline and prepares it for further processing. The InfluxDB source stage lets you read data from an [InfluxDB](https://www.influxdata.com/) database at a user-defined interval.
17
+
The source stage is the first and required stage in an Azure IoT Data Processor (preview) pipeline. The source stage gets data into the data processing pipeline and prepares it for further processing. The InfluxDB source stage lets you read data from an [InfluxDB v2](https://docs.influxdata.com/influxdb/v2/) database at a user-defined interval.
18
18
19
19
In the source stage, you define:
20
20
21
-
- Connection details for InfluxDB.
21
+
- Connection details for InfluxDB v2.
22
22
- The interval at which to query the InfluxDB database. The stage waits for a result before it resets the interval timer.
23
23
- A partitioning configuration based on your specific data processing requirements.
24
24
25
25
## Prerequisites
26
26
27
27
- A functioning instance of Data Processor is deployed.
28
-
- An InfluxDB database with all necessary raw data available is operational and reachable.
28
+
- An InfluxDB database with all necessary raw data is operational and reachable.
29
29
30
30
## Prepare the Influx database
31
31
@@ -39,22 +39,25 @@ To connect to the InfluxDB database, you need to:
39
39
To configure the InfluxDB source:
40
40
41
41
- Provide details of the InfluxDB database. This configuration includes the server name and a query to retrieve the data.
42
-
- Specify the authentication method. Currently limited to access token authentication.
42
+
- Specify the authentication method. Currently, you can only use access token authentication.
43
43
44
44
The following table describes the InfluxDB source configuration parameters:
45
45
46
46
The base schema of the input configuration is made up of:
47
47
48
48
| Field | Type | Description | Required? | Default | Example |
| Server URL | string | URL of the InfluxDB server | Yes ||`https://contoso.com/some/url/path`|
50
+
| Name | String | A customer-visible name for the source stage. | Required | NA |`erp-database`|
51
+
| Description | String | A customer-visible description of the source stage. | Optional | NA |`Enterprise database`|
52
+
| Database URL | String | URL of the InfluxDB database | Yes ||`https://contoso.com/some/url/path`|
53
+
| Database port | Integer | The InfluxDB database port | No | 443 | 443 |
54
+
| Organization | String | The organization that holds the bucket to query from | Yes |`test-org`|`test-org`|
55
+
| Authentication | Authentication type | The authentication method for connecting to the server. Supports `accessToken` type only. | Yes |`{"type": "accessToken"}`|`{"type": "accessToken"}`|
56
+
| Secret | String | Reference to the token stored in Azure Key Vault. | Yes | Yes |`AKV_ACCESS_TOKEN`|
| Query interval |[Duration](concept-configuration-patterns.md#duration)| String representation of the time to wait before the next API call. | Yes ||`24h`|
53
-
| Server port | integer | The InfluxDB server port | No | 443 | 443 |
54
-
| Organization | string | The organization that holds the bucket to query from | Yes |`test-org`|`test-org`|
55
59
| Data format |[Format](concept-supported-formats.md)| The stage applies the format to individual rows retrieved by the query. Only the `json` format is supported. The top-level `path` isn't supported. | Yes ||`{"type": "json"}`|
56
60
| Partitioning |[Partitioning](#configure-partitioning)| Partitioning configuration for the source stage. | Required | NA | See [partitioning](#configure-partitioning)|
57
-
| Authentication | Authentication type | The authentication method for connecting to the server. Supports `accessToken` type only. | Yes |`{"type": "accessToken"}`|`{"type": "accessToken"}`|
58
61
59
62
## Configure partitioning
60
63
@@ -76,27 +79,28 @@ The following JSON example shows a complete InfluxDB source stage configuration:
Copy file name to clipboardExpand all lines: articles/iot-operations/process-data/howto-configure-datasource-sql.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ The following table describes the SQL Server source configuration parameters:
100
100
| Server port | Integer | The port number to connect to on the server. | Required |`1433`|`1433`|
101
101
| Authentication | Authentication type | The authentication method for connecting to the server. One of: `None`, `Username/Password`, `Managed identity`, or `Service principal`. | Optional |`NA`|`Username/Password`|
102
102
| Username/Password > Username | String | The username for the username/password authentication | Yes | NA |`myuser`|
103
-
| Username/Password > Secret | Reference to the password stored in Azure Key Vault. | Yes | Yes |`AKV_USERNAME_PASSWORD`|
103
+
| Username/Password > Secret |String |Reference to the password stored in Azure Key Vault. | Yes | Yes |`AKV_USERNAME_PASSWORD`|
104
104
| Service principal > Tenant ID | String | The Tenant ID of the service principal. | Yes | NA |`<Tenant ID>`|
105
105
| Service principal > Client ID | String | The Client ID of the service principal. | Yes | NA |`<Client ID>`|
106
106
| Service principal > Secret | String | Reference to the service principal client secret stored in Azure Key Vault. | Yes | NA |`AKV_SERVICE_PRINCIPAL`|
0 commit comments