Well done, great video. I got into a problem with following error: "msg="error running loki" err="mkdir /tmp/loki: permission denied" from loki container. when I run the docker compose using my user account (id = 1000:1000) with (root, docker, adm) groups membership, and I solved that using the following Method-1 (preferred): - run the following: { mkdir data && chmod 777 -R data } (as I noticed the loki container creates the data folder under the following user id (1001) or Method-2: add the root user id 0 to the docker-compose.yaml file {user: "0" } to both loki and promtail containers.
Love your videos, fellow Wellington person here! Any chance for a video showing how to pull in logs from several docker containers, from in the same loki host but also outside of the loki host?
Great video. Is it possible to send logs from a public host/server to your Loki on your private network? Would you need to use a VPN or open up ports on your home router?
Well done, great video. I got into a problem with following error: "msg="error running loki" err="mkdir /tmp/loki: permission denied" from loki container. when I run the docker compose using my user account (id = 1000:1000) with (root, docker, adm) groups membership, and I solved that using the following Method-1 (preferred): - run the following: { mkdir data && chmod 777 -R data } (as I noticed the loki container creates the data folder under the following user id (1001) or Method-2: add the root user id 0 to the docker-compose.yaml file {user: "0" } to both loki and promtail containers.
Well done! Please also create a video demonstrating how to set up notifications on Grafana.
Great suggestion!
you dont need to manually set the ip address in promtail config, just use the container name
Hope you are doing well
Thank you so much! I was looking for that
No problem! :)
very cool ! nice job
Thanks!
Love your videos, fellow Wellington person here! Any chance for a video showing how to pull in logs from several docker containers, from in the same loki host but also outside of the loki host?
Thanks for the kind words, Happy to look into it :)
Great video. Is it possible to send logs from a public host/server to your Loki on your private network? Would you need to use a VPN or open up ports on your home router?
Either VPN or open up the ports yeah, but I would not open ports. VPN or something like tailscale would be the best bet