Monitoring Logs with Swatch

Recently I came across swatch, a great Linux command line tool that can monitor/watch a log file and send an alert (via email or in the terminal itself). It’s easy to install (yum install swatch), and can run in daemon mode to tail a log and send alerts as it finds matching entries.