Documentation: Updated yaml for influxdb data sources (#84119)

* Update _index.md

Updated instructions for influx v2

* Added version:SQL to influx v3 example in _index.md
This commit is contained in:
ldomesjo 2024-03-11 12:55:21 +01:00 committed by GitHub
parent 275ccf994b
commit 01c8b7b611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -203,9 +203,8 @@ datasources:
access: proxy
url: http://localhost:8086
jsonData:
version: SQL
metadata:
- database: <bucket-name>
dbName: site
httpHeaderName1: 'Authorization'
secureJsonData:
httpHeaderValue1: 'Token <token>'
```
@ -216,11 +215,12 @@ datasources:
apiVersion: 1
datasources:
- name: InfluxDB_v2_InfluxQL
- name: InfluxDB_v3_InfluxQL
type: influxdb
access: proxy
url: http://localhost:8086
jsonData:
version: SQL
dbName: site
httpMode: POST
secureJsonData: