I’m sending all logs from my IPFire server to a rsyslog server with the intention of visualising some stuff using grafana / loki / promtail. However, the data I’m most interested in is the upload volume per day on the Red interface. I figured out I can get this using vnstat on the ipfire server. (I think this is where the nice graphs on Status → Network External come from?)
Is there any way to have this data rsynclogged? Or can I get this data from one of the other log files?
Any help/tips/suggestions are greatly appreciated
Hi, thank you cfusco for your reply
I ended up writing a small script that runs hourly (put script in /etc/fcron.hourly) on our ipfire box and sends the data I need to the logfile. This logfile are rsyslogged to my grafana/loki/promtail server and I can now process them there. For my purpose this is enough.
I’ll provide my (very simple) script below if anyone is interested.