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 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


-c configfile

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


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.



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


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


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


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


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