3 ms·
Why would you watch logs for more than 6 months? Do you filter them? What does the system you are watching do?
by emadda 3y ago
Why would you watch logs for more than 6 months?
Do you filter them? What does the system you are watching do?
- marmaduke 3y agofor instance, running a nextcloud instance through docker compose, I'd like to have a lightweight web ui for browsing the server logs. not just for 15 minutes but for longer periods of time. on an hpc cluster, I want to want logs from the slurmctld forever essentially without having to login and grep through the logs. there's a bunch of online services for this, there's ELK stack, there's grep, and few things sit in between. hence my question
- piterrro 3y agothen the problem is not viewing the logs but storing them, maybe compressing, and then retrieving. If that's not a problem (size) then with some cron magic you should be able to store the logs from specific locations into a single one so rotation doesn't eat them and then just view using a log viewer of your choice.