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