Skip to content

Commit f60934a

Browse files
committed
minor fix
1 parent 05f6ad9 commit f60934a

File tree

3 files changed

+10
-21
lines changed

3 files changed

+10
-21
lines changed

docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/snowflake-sql-api.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ To configure the Snowflake SQL API Source:
4444
* <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.
4545
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`.
4646
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+
- **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).
5252
1. In **Snowflake Database**, enter your Snowflake database. Separate sources are required to query separate databases.
5353
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.
5454
1. (Optional) In **Snowflake Role**, provide a database role if required.
@@ -91,28 +91,15 @@ Sources can be configured using UTF-8 encoded JSON files with the Collector Ma
9191

9292
### Configuration Object
9393

94-
| Parameter | Type | Required | Default | Description | Example |
95-
|:----------|:-------|:---------|:--------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------|
94+
| Parameter | Type | Required | Default | Description | Example |
95+
|:--|:--|:--|:--|:--|:--|
9696
| 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"` |
9797
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
9898
| 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"`
9999
| fields | JSON Object | No | `null` | JSON map of key-value fields (metadata) to apply to the collector or source. | |
100100
| username | String | Yes | `null` | Your Snowflake user account. | |
101101
| password | String | Yes | `null` | Your Snowflake user password. | |
102-
| accountIdentifier | String | Yes | `null` | Your Snowflake admin account identifier. | `wp00000.us-east-2.aws` |
103-
| database | String | Yes | `null` | Your Snowflake database name. | `SNOWFLAKE` |
104-
| MetricConfigSection | String | Yes | `null` | A stringified JSON of the metrics configuration. | See above documentation for examples. |
105-
106-
### Configuration Object
107-
108-
| Parameter | Type | Required | Default | Description | Example |
109-
|:----------|:-------|:---------|:--------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------|
110-
| 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"` |
111-
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
112-
| 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"`
113-
| fields | JSON Object | No | `null` | JSON map of key-value fields (metadata) to apply to the collector or source. | |
114-
| username | String | Yes | `null` | Your Snowflake user account. | |
115-
| password | String | Yes | `null` | Your Snowflake user password. | |
102+
| patToken | String | Yes | `null` | Your Snowflake programmatic access token. | |
116103
| accountIdentifier | String | Yes | `null` | Your Snowflake admin account identifier. | `wp00000.us-east-2.aws` |
117104
| database | String | Yes | `null` | Your Snowflake database name. | `SNOWFLAKE` |
118105
| MetricConfigSection | String | Yes | `null` | A stringified JSON of the metrics configuration. | See above documentation for examples. |

static/files/c2c/snowflake-sql-api/example.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"source":{
44
"config":{
55
"name": "Snowflake C2C",
6+
"authType": "basic",
67
"username": "sumosnowflake",
78
"password": "*************",
89
"accountIdentifier": "wp71650.us-east-2.aws",

static/files/c2c/snowflake-sql-api/example.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resource "sumologic_cloud_to_cloud_source" "snowflake_metrics_source" {
55
}
66
config = jsonencode({
77
"name": "Snowflake C2C",
8+
"authType": "basic",
89
"username": "sumosnowflake",
910
"password": "*************",
1011
"accountIdentifier": "wp71650.us-east-2.aws",

0 commit comments

Comments
 (0)