@@ -68,10 +68,13 @@ When creating an InfluxDB data source that uses SQL to query data:
68
68
2. Under **InfluxDB Details**:
69
69
70
70
- **Database**: Provide a default database name to query.
71
- - **Token**: Provide an arbitrary string.
71
+ - **Token**: Provide an arbitrary, non-empty string.
72
72
73
73
> [!Note]
74
74
> While in beta, {{< product-name >}} does not require an authorization token.
75
+ > However, if you included a `--token` option or defined the
76
+ > `INFLUXDB3_AUTH_TOKEN` environment variable when starting your
77
+ > {{< product-name >}} server, provide that token.
75
78
76
79
- **Insecure Connection**: If _not_ using HTTPS, enable this option.
77
80
@@ -107,8 +110,8 @@ When creating an InfluxDB data source that uses InfluxQL to query data:
107
110
108
111
- **HTTP Method**: Choose one of the available HTTP request methods to use when querying data:
109
112
110
- - **POST** ({{< req text="Recommended" >}})
111
- - **GET**
113
+ - **POST** ({{< req text="Recommended" >}})
114
+ - **GET**
112
115
113
116
3. Click **Save & test**.
114
117
@@ -135,9 +138,10 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
135
138
> {{% sql/sql-schema-intro %}}
136
139
> To learn more, see [Query Data](/influxdb3/version/query-data/sql/).
137
140
138
- 1. Click **Explore**.
139
- 2. In the dropdown, select the saved InfluxDB data source to query.
140
- 3. Use the SQL query form to build your query:
141
+ 1. Click **Explore**.
142
+ 2. In the dropdown, select the saved InfluxDB data source to query.
143
+ 3. Use the SQL query form to build your query:
144
+
141
145
- **Table**: Select the measurement to query.
142
146
- **Column**: Select one or more fields and tags to return as columns in query results.
143
147
@@ -161,7 +165,8 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
161
165
You can sort by time and multiple fields or tags.
162
166
To sort in descending order, select **DESC**.
163
167
164
- 4. {{< req text="Recommended" color="green" >}}: Change format to **Time series**.
168
+ 4. {{< req text="Recommended" color="green" >}}: Change format to **Time series**.
169
+
165
170
- Use the **Format** dropdown to change the format of the query results.
166
171
For example, to visualize the query results as a time series, select **Time series**.
167
172
@@ -172,9 +177,10 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
172
177
{{% tab-content %}}
173
178
<!------------------------------- BEGIN INFLUXQL ------------------------------>
174
179
175
- 1. Click **Explore**.
176
- 2. In the dropdown, select the **InfluxDB** data source that you want to query.
177
- 3. Use the InfluxQL query form to build your query:
180
+ 1. Click **Explore**.
181
+ 2. In the dropdown, select the **InfluxDB** data source that you want to query.
182
+ 3. Use the InfluxQL query form to build your query:
183
+
178
184
- **FROM**: Select the measurement that you want to query.
179
185
- **WHERE**: To filter the query results, enter a conditional expression.
180
186
- **SELECT**: Select fields to query and an aggregate function to apply to each.
@@ -183,6 +189,7 @@ use Grafana to build, run, and inspect queries against {{< product-name >}}.
183
189
- **GROUP BY**: By default, Grafana groups data by time to downsample results
184
190
and improve query performance.
185
191
You can also add other tags to group by.
192
+
186
193
4. Click **Run query** to execute the query.
187
194
188
195
<!-------------------------------- END INFLUXQL ------------------------------->
0 commit comments