Merge branch 'master' into jstirnaman/linting-cleanup
commit
fd6307b8d1
|
|
@ -77,7 +77,7 @@ The [`influx` CLI](/influxdb/v2/reference/cli/influx/) provides an [InfluxQL she
|
|||
3. Execute an InfluxQL query inside the InfluxQL shell.
|
||||
|
||||
```sql
|
||||
SELECT used_percent FROM example-db.example-rp.example-measurement WHERE host=host1
|
||||
SELECT used_percent FROM "example-db"."example-rp"."example-measurement" WHERE host=host1
|
||||
```
|
||||
|
||||
For more information, see how to [use the InfluxQL shell](/influxdb/v2/tools/influxql-shell/). For more information about DBRP mappings, see [Manage DBRP mappings](/influxdb/v2/query-data/influxql/dbrp/).
|
||||
|
|
@ -105,7 +105,7 @@ all InfluxDB 1.x client libraries and integrations in InfluxDB {{< current-versi
|
|||
```sh
|
||||
curl --get http://localhost:8086/query?db=example-db \
|
||||
--header "Authorization: Token YourAuthToken" \
|
||||
--data-urlencode "q=SELECT used_percent FROM example-db.example-rp.example-measurement WHERE host=host1"
|
||||
--data-urlencode "q=SELECT used_percent FROM \"example-db\".\"example-rp\".\"example-measurement\" WHERE host=host1"
|
||||
```
|
||||
|
||||
By default, the `/query` compatibility endpoint returns results in **JSON**.
|
||||
|
|
|
|||
Loading…
Reference in New Issue