mirror of
https://github.com/lephisto/pfsense-analytics.git
synced 2025-12-06 04:19:19 +01:00
Datasource provisioning for Grafana
This commit is contained in:
37
provisioning/datasources/automatic.yml
Normal file
37
provisioning/datasources/automatic.yml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
deleteDatasources:
|
||||||
|
- name: ntop
|
||||||
|
orgId: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: ntop
|
||||||
|
type: influxdb
|
||||||
|
access: proxy
|
||||||
|
url: http://influxdb:8086
|
||||||
|
password: ntop
|
||||||
|
user: ntop
|
||||||
|
database: ndpi
|
||||||
|
basicAuth: false
|
||||||
|
basicAuthUser:
|
||||||
|
basicAuthPassword:
|
||||||
|
withCredentials:
|
||||||
|
isDefault: true
|
||||||
|
jsonData:
|
||||||
|
tlsAuth: false
|
||||||
|
tlsAuthWithCACert: false
|
||||||
|
secureJsonData:
|
||||||
|
tlsCACert: ""
|
||||||
|
tlsClientCert: ""
|
||||||
|
tlsClientKey: ""
|
||||||
|
version: 1
|
||||||
|
editable: true
|
||||||
|
|
||||||
|
- name: pfsensefw
|
||||||
|
type: elasticsearch
|
||||||
|
access: proxy
|
||||||
|
database: "pfsense_*"
|
||||||
|
url: http://elasticsearch:9200
|
||||||
|
jsonData:
|
||||||
|
esVersion: 60
|
||||||
|
timeField: "timestamp"
|
||||||
Reference in New Issue
Block a user