-
Hi all, I just started using Grafana Agent with Grafana Cloud (free tier) and have very little experience with Loki. I've installed and configured the agent using this guide: https://grafana.com/docs/grafana-cloud/infrastructure-as-code/ansible/ansible-grafana-agent-linux/ And this config: logs:
configs:
- clients:
- basic_auth:
password: redacted
username: redacted
url: https://redacted.grafana.net/loki/api/v1/push
name: default
positions:
filename: /tmp/positions.yaml
scrape_configs:
- job_name: journal
journal:
json: false
max_age: 12h
matches: SYSLOG_IDENTIFIER=my_service
labels:
job: systemd-journal
relabel_configs:
- source_labels: ['__journal__systemd_unit']
target_label: 'unit'
target_config:
sync_period: 10s But am not seeing any logs in Grafana Cloud when checking the default query in "Explore" for the How can I best troubleshoot this logging pipeline? Thanks! My debugging steps so far:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I got this working by using the newest release and the cloud-config command. |
Beta Was this translation helpful? Give feedback.
I got this working by using the newest release and the cloud-config command.