What Log File Formats does Logaholic supports?

2011-10-04 12:37:38Tags: log,file,formats,supports


Logaholic supports the following Log File Formats:

  • NCSA Common or Combined log files (default for Apache)
  • NCSA Combined including Cookie information
  • W3C Extended log files (default for IIS).

We also support a number of commonly used variations of NCSA formats.

To check if your Log file format is recognized by Logaholic, just enter the full path to one of your log files in the 'Log File Location' field on the 'Data Collection' tab in your Logaholic profile settings. If the log file is valid, it will tell you right below the input field.

If the data in your logaholic reports seem incomplete, read the following. Some Logaholic signs that your log file format is not (completely) optimal may include:

  • Missing Keyword information
  • Missing or incorrect referrers
  • Missing crawler stats

Log file formats can be custom-defined in both Apache and IIS. For both, make sure you include the referrer information in the log file.

For IIS users, using the IIS manager, select the extended log file options and add a check to the box next to referrer and user agent.

For Apache users, define the log file thus in the httpd.conf file:

CustomLog /your_path/access_log

"%h %l %u %t "%r" %>s %b "%{Referer}i""%{User-Agent}i" "%{cookie}i""

However, this seems to be enough in most cases:

CustomLog /your_path/access_log "combined"

Each virtual host should have its own log file. So, on apache you need to define a logfilepath/filename and put it between the virtual host tags for each website in the httpd.conf file.

Most log files are configured correctly, therefore take this into consideration only if your Logaholic reports are missing referrals information.

Creating a custom Logaholic Log File Parser

If your log file is not recognized or not analyzed correctly and you cannot change it's format, please send a sample of your raw log file to support@logaholic.com. We will glady look into creating a custom parser file for you.

You can also do this yourself (some PHP skills required). Check out the files in the "log_formats" directory of your Logaholic installation. You can either edit an existing parser file or create your own. LooseApacheCommon.inc.php is a good one to start with as an example.


On On IIS you will find the Log file settings under the properties of your website.

Click this link for more information.

The information on this page relates to older Logaholic versions (prior to Logaholic 6) and may be outdated.