Hiya, I’m looking to keep track of my different services in hosting via Unraid. Right now I’m hosting roughly 12 different services, but would be nice to have the logs of all my services in one place, preferably with a nice GUI. Are there any such services that could easily connect to the different docker containers I have running?
Appreciate any suggestions 🙌
Loki with grafana
Is there a decent tutorial on how to get it up and running on standard services such as systemd events, fail2ban etc? There is no quick start guide on their site.
Install promtail on the system where you want to get the logs from, then configure it with the paths to the log files and the address of the loki server
https://grafana.com/docs/loki/latest/send-data/promtail/?pg=oss-loki&plcmt=quick-links
Take a look at openonserve
I’m currently using Dozzle. It’s a simple way to view your container logs in real-time, in the same place. It might be too basic but it’s incredibly easy to get it up and running.
I’m also using Dozzle and it’s been great for semi realtime use. I occasionally think about something for longer term logs but haven’t yet had the motivation.
Haha yeah, I’m right there with ya
This looks exactly like what I was looking for thanks babes
syslog over udp
About that I have made the simplest possible implementation of a syslog server in Rust. I use it to collect OpenWrt logs and store them on my server. ;-)
Syslog over TCP with TLS (don’t want those sweet packets containing sensitive data leaving your box unencrypted). Bonus points for mutual authentication between the server/clients (just got it working and it’s 👌 - my implementation here
It solves the aggregation part but doesn’t solve the viewing/analysis part. I usually use lnav on simple setups (gotty as a poor man’s web interface for lnav when needed), and graylog on larger ones (definitely costly in terms of RAM and storage though)
I use Portainer for this, though it doesn’t aggregate logs or anything. It just makes them easy to get to and read.
I used to use Portainer quite a bit, but after migrating to Unraid i feel like their UI was a bit superior in most ways (for my use), but thanks:)