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
-
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.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.