Looking for some guidance on collecting file logs. Installed the Grafana agent on my Ubuntu server, and set up this scrape_config in /etc/grafana-agent.yaml
but not seeing anything under Explore in Grafana Cloud. Any suggestions?
logs:
configs:
- clients:
- basic_auth:
password: **
username: **
url: https://logs-prod-006.grafana.net/loki/api/v1/push
name: integrations
positions:
filename: /tmp/positions.yaml
scrape_configs:
- job_name: applogs
static_configs:
- targets: [localhost]
labels:
job: applogs
__path__: /home/appprimary/webapps/logs/2023/*log