Five Log Monitoring Tools
Learn to Love the Dog
The choice of the appropriate tool massively depends on the specific requirements and your personal programming skills. None of the five candidates can replace a full-scale monitoring system, let alone an intrusion detection system. In any case, administrators need to interpret the sent system events themselves. See the "Old Comrades" box for some other alternatives.
Old Comrades
Anyone searching the Internet for other alternatives to the featured tools will automatically stumble upon a few representatives that are now obsolete. The Logdigest [6] tool works like Logcheck, but has been on ice since 2009. LogSurfer [7] is pretty similar to SwatchDog, but can also group similar events. In addition, LogSurfer is written in C and should therefore work much more quickly. However, the most recent version of the tool was released in September 2011.
Petit [8] is about the same age, but it is still in the repositories of Ubuntu. The tool uses language analysis methods to curb the flood of data, especially in system logs. This allows administrators to, for example, list all words that occur particularly frequently in a logfile. In addition, the tool draws a graph that presents the number of messages in a given period of time (Figure 9). The hash function, which keeps track of similar messages in the log, is also interesting. It allows the viewer to immediately see which errors occur most frequently.
LOGalyze provides a GUI and can also be remotely operated via your browser. However, anyone who wants to use the tool should remember the tool's age. The supplied Tomcat version also needs to be replaced as quickly as possible. Admins also need to be able to figure out for themselves how to use LOGalyze.
Logcheck can be put into operation particularly quickly. Anyone who masters regular expressions can reduce the flood of data using quickly added and customized filtering rules. While Logcheck only sends the naked events to the admin, Logwatch provides the admin with a summary. If admins want to monitor their own services using Logwatch, they need Perl scripts.
MultiTail is worthwhile for administrators who literally want to keep an eye on several logfiles and only want to trigger actions in certain cases. Sending emails and forwarding filtered events may be possible; however, to do so admins need to write suitable regular expressions and manually configure MultiTail. The tool is therefore useful as a very good supplement to Logcheck and Logwatch.
Finally, SwatchDog is comparable to Logwatch: It can be set up quickly but requires knowledge of regular expressions. Additionally, it only reports individual events specified by the administrator.
Infos
- LOGalyze: http://www.logalyze.com
- Logcheck: http://logcheck.alioth.debian.org
- Logwatch: https://sourceforge.net/projects/logwatch/
- MultiTail: https://www.vanheusden.com/multitail/
- SwatchDog: https://sourceforge.net/projects/swatch/
- Logdigest: https://sourceforge.net/projects/logdigest/
- LogSurfer: http://www.crypt.gen.nz/logsurfer/
- Petit: http://crunchtools.com/software/petit/
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.