You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been a fantastic resource for getting grafana/loki deployed in my environment! Many thanks!
Fedora doesn't configure journald to log files under /var/log so an additional job in the promtail-config.yml may be needed to scrape the journal files:
For those trying to do this with Podman on Fedora I found that loki and grafana can be run as non-root user in a pod with promtail running separately as root, using the public loki port.
The text was updated successfully, but these errors were encountered:
Hi Tim,
This has been a fantastic resource for getting grafana/loki deployed in my environment! Many thanks!
Fedora doesn't configure
journald
to log files under/var/log
so an additional job in thepromtail-config.yml
may be needed to scrape the journal files:This also adds the "hostname" label so you can distinguish if you've got multiple hosts sending journald logs to loki.
There are additional volumes to pass into the promtail container as well:
For those trying to do this with Podman on Fedora I found that loki and grafana can be run as non-root user in a pod with promtail running separately as root, using the public loki port.
The text was updated successfully, but these errors were encountered: