docs: loki provisioning

This commit is contained in:
Marcus Efraimsson 2019-03-26 00:18:24 +07:00
parent 6c9b9b360a
commit 29fc1ed77b
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A

View File

@ -113,7 +113,25 @@ apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: http://localhost:3100
jsonData:
maxLines: 1000
```
Here's another with basic auth:
```yaml
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: http://localhost:3100
basicAuth: true
basicAuthUser: my_user
basicAuthPassword: test_password
jsonData:
maxLines: 1000
```