Fix logging section in agent-send-to-grafana-cloud.yaml

This commit is contained in:
Ishan Jain 2023-04-06 14:14:16 +05:30 committed by GitHub
parent 527020bde6
commit b07cd09ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,12 @@
basic_auth: basic_auth:
username: "1234567" # your username / instanceID username: "1234567" # your username / instanceID
password: "..." # your grafana.com token password: "..." # your grafana.com token
configs:
- name: local
positions:
filename: /tmp/positions.yaml
target_config:
sync_period: 10s
scrape_configs: scrape_configs:
# scrape all of the log files in /var/log on the localhost # scrape all of the log files in /var/log on the localhost
- job_name: log-files - job_name: log-files