In order to learn more about what is logged by my desktop machine, I'd like to set up something better than a casual grep command to see what's going on. A typical use case would be to send an email with a warning if more than X SSH login attempts failed within Y minutes for user username.
To be clear, this is not for web server logs, which most *nix log analysis tools seem to be focusing on. Also, I would like this system to be live, not just a grep in cron, in order to be able to catch events like shutdown now before the machine goes down.
LogSurfer might be the right thing for me, but I'd like to know of other, similar tools if there are any.
Of course, I'm only interested in FLOSS.
logwatchis meant to be run "after the fact". Is it possible to plug this into the live syslog stream? – l0b0 Nov 25 '11 at 11:59logsentryhas moved; the SourceForge tarball is from 2003. – l0b0 Nov 25 '11 at 12:11logcheckhas to be run periodically, and can't run live becauselogtaildoesn't take input from stdin. – l0b0 Nov 25 '11 at 12:22