riju
riju copied to clipboard
Restore webserver logs via promtail
For some reason I seem to have lost all logs with {source="server"}
. Not sure what changed:
This is because apparently when Promtail starts, if any of your config file's filepath glob patterns fail to match, Promtail completely throws them away. This is despite the fact that it already dynamically checks for new files showing up that match the glob; apparently, there is a special case where if at startup specifically if there are zero files, it decides to give up entirely.
Migrating to https://grafana.com/docs/loki/latest/clients/docker-driver/.