Modlogan

What is Modlogan?

Modlogan is a modular logfile analyzer which is currently able to parse ftp-, webserver and squid logs. The generated output can be viewed by a web browser (->moglogan, webalizer) or your favorite text editor (->text). The different input and output modes are provided by some surrounding plugins. For example the modlogan output plugin provides three different menu structure for the same colourfull output while the output which is generated by the webalizer output plugin looks similar to the output generated by the original Webalizer known from http://www.mrunix.net/webalizer. The input is handled the same way. One plugin is for the web server logs, the next is for xferlog from FTP-servers like WuFTP and the third input plugin is a NULL plugin which does nothing (but this perfectly :).

More infomation can be found at http://www.tldp.org/LDP/Linux-Dictionary/html/m.html

Options

-c configfile

Specify another configuration file than the default /etc/modlogan/modlogan.conf

-r

It is note recommened to run modlogan as root. By default this is not permitted. If you still want to run it as root you have to use this option.

-u username

If you want to run modlogan as a specific user, you can use this option. In order to use this function you have to combine it with the -r command line switch.

-h, --help

Shows the help text of the program and exits.

-v, --version

Shows the version number of the program and exits.

Files

/etc/modlogan/modlogan.conf

This is the name and location of the default configuration file.

modlogan.def.conf

This file contains the default settings for all the necessary options that modlogan can function.

group.*.conf

These files contain regular expressions to group certain aspects of a logfile under a common term, like operating system, user agent, etc.

match.*.conf

These configuration files also contain regular expressions to match a certain aspect of a logfile.

ignore.searchengines.conf

This is a blacklist for all the known searchengines to filter them out from the logfiles.