Hello,
I have read most of the documentation that is available for installing Grafana for Windows. My teams are using a Windows VM/VMSS infrastructure in Azure without Kubernetes. I have installed the Grafana agent and attempted to modify the agent-config.yml based upon forum messages and Grafana site documentation, and I am unable to send any logs to Loki. We did a curl command to check for connectivity, and that passed. I’m hoping to get more detailed help with the agent-config.yml. Below is the only .yml file that will allow me to start the Grafana Agent service, but it does not populate the positions directory or logs file, and nothing is sent to Loki.
agent-config.yml:
server:
log_level: debug
prometheus:
wal_directory: "C:\\ProgramData\\grafana-agent-wal"
global:
scrape_interval: 15s
remote_write:
- url: https://prometheus-prod-13...
basic_auth:
password: <password>
username: <username>
configs:
- name: integrations
integrations:
windows_exporter:
enabled: true
loki:
positions_directory: "C:\\Users\\azureuser\\Logs"
configs:
- name: windows
clients:
- url: https://grafana-loki...
tenant_id:
basic_auth:
username: <username>
password: <password>
- job_name: windows
windows_events:
bookmark_path: "C:\\Users\\azureuser\\bookmark\\bookmark.xml"
use_incoming_timestamp: true
eventlog_name: "Application"
xpath_query: '*'
labels:
job: windows