Is it possible to reduce the used space by loki?

To remove the data you could remove the podman volume. I tested it and it worked but I don’t know if it’s the right method…

WARNING! All log data will be lost.

Enter loki instance environment:

runagent -m loki1

Stop service, remove volume and start service:

systemctl --user stop loki && podman volume rm loki-server-data && systemctl --user start loki
2 Likes