I have tried to get Loki running so that i can collect windows logs and I am about to give up. I have tried RHEL, Ubuntu, WIndows, SexiGraf and none of them will run loki so I know it is something I am doing.
I dont understand what I am missing…
root@RSM-GRAF:~# sudo systemctl status loki
● loki.service - Loki service
Loaded: loaded (/etc/systemd/system/loki.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-08-07 18:37:26 UTC; 5s ago
Process: 16940 ExecStart=/usr/local/bin/loki -config.file /etc/loki/loki-local-config.yaml (code=exited, status=1/FAILURE)
Main PID: 16940 (code=exited, status=1/FAILURE)
Is this error the yaml file? I have tried about 100 of those too.
failed parsing config: /etc/loki/loki-local-config.yaml: yaml: unmarshal errors:
line 1: field xauth_enabled not found in type loki.ConfigWrapper. Use -config.expand-env=true flag if you want to expand environment variables in your config file