henrygd / beszel

Lightweight server monitoring hub with historical data, docker stats, and alerts.
MIT License
2.31k stars 71 forks source link

[ feature request / support ] Add syslog monitoring #37

Open MohamedElashri opened 3 months ago

MohamedElashri commented 3 months ago

I would like to suggest adding monitoring of syslog on system and provide a way to explore them within pocketbase. It would make sense for a log monitoring hub to contain the most important logs for the agents in one place. We can have it either for individual system or combine them.

henrygd commented 3 months ago

I think syslog might be too much information to constantly monitor and save in the database for all systems.

Maybe if I can figure out a way stream it on demand, but it's probably not going to be added in the near future.

For an alternative, Dozzle added an agent mode recently and can be set up to view syslog.

adamshand commented 2 months ago

Instead of saving everything in the database, would it be possible to set a regex for certain logs and capture those? I can see this being useful for certain very important events (root login, reboot etc).