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: docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/snowflake-sql-api.md
+11-19Lines changed: 11 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,9 @@ Customers can provide custom SQL queries for the source to execute and a configu
24
24
To collect metric data from the Snowflake SQL API, you must have an authorized Snowflake account. We suggest setting up a dedicated user account with the correct permissions for accessing the SQL tables with the data you are interested in collecting.
25
25
26
26
1. Create a user account with the correct permissions for accessing the SQL tables you plan to query.
27
-
1.Take note of your admin account identifier following the instructions [here](https://docs.snowflake.com/en/user-guide/admin-account-identifier). The identifier should look something like this: `wp00000.us-east-2.aws`.
27
+
1.Collect your admin account identifier following the instructions in the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier). The identifier should look something like this: `wp00000.us-east-2.aws`.
28
28
1. Take note of the database name you plan to query.
29
+
1. Collect your Snowflake Programmatic Access Token following the instructions in the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens).
29
30
1. Optional additional information such as a role, warehouse, or schema name can also be configured with the source.
30
31
31
32
### Source configuration
@@ -41,9 +42,13 @@ To configure the Snowflake SQL API Source:
41
42
1. (Optional) **Fields**. Click the **+Add Field** link to define the fields you want to associate. Each field needs a name (key) and value.
42
43
* <img src={useBaseUrl('img/reuse/green-check-circle.png')} alt="green check circle.png" width="20"/> A green circle with a check mark is shown when the field exists and is enabled in the Fields table schema.
43
44
* <img src={useBaseUrl('img/reuse/orange-exclamation-point.png')} alt="orange exclamation point.png" width="20"/> An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, you'll see an option to automatically add or enable the nonexistent fields to the Fields table schema. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored, known as dropped.
44
-
1. In **Snowflake Username**, enter your Snowflake account username.
45
-
1. In **Snowflake Password**, enter the Snowflake account password associated with your user.
46
45
1. In **Snowflake Account Identifier**, enter your Snowflake account identifier obtained from the vendor configuration above. The identifier should look something like this: `wp00000.us-east-2.aws`.
46
+
1.**Authentication Configuration**. Sumo Logic provides two different ways to configure: **Basic** and **Programmatic Access Token**.
47
+
-**Basic**:
48
+
1. In **Snowflake Username**, enter your Snowflake account username.
49
+
1. In **Snowflake Password**, enter the Snowflake account password associated with your user.
50
+
-**Programmatic Access Token**:
51
+
1. In **Snowflake Programmatic Access Token**, enter your Programmatic Access Token collected from the [Snowflake platform](#vendor-configuration).
47
52
1. In **Snowflake Database**, enter your Snowflake database. Separate sources are required to query separate databases.
48
53
1. In **SQL Statement Metric Configuration**, upload a JSON file containing the SQL queries to execute, their polling interval, and additional configuration for translating the results to metrics.
49
54
1. (Optional) In **Snowflake Role**, provide a database role if required.
@@ -86,28 +91,15 @@ Sources can be configured using UTF-8 encoded JSON files with the Collector Ma
| Parameter | Type | Required | Default | Description | Example |
95
+
|:--|:--|:--|:--|:--|:--|
91
96
| name | String | Yes |`null`| Type a desired name of the source. The name must be unique per collector. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_source`. |`"mySource"`|
92
97
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
93
98
| category | String | No | `null` | Type a category of the source. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_sourceCategory`. See [best practices](/docs/send-data/best-practices) for details. | `"mySource/test"`
94
99
| fields | JSON Object | No |`null`| JSON map of key-value fields (metadata) to apply to the collector or source. ||
95
100
| username | String | Yes |`null`| Your Snowflake user account. ||
96
101
| password | String | Yes |`null`| Your Snowflake user password. ||
| name | String | Yes |`null`| Type a desired name of the source. The name must be unique per collector. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_source`. |`"mySource"`|
106
-
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
107
-
| category | String | No | `null` | Type a category of the source. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_sourceCategory`. | `"mySource/test"`
108
-
| fields | JSON Object | No |`null`| JSON map of key-value fields (metadata) to apply to the collector or source. ||
109
-
| username | String | Yes |`null`| Your Snowflake user account. ||
110
-
| password | String | Yes |`null`| Your Snowflake user password. ||
0 commit comments