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.
News
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.