I am currently writing a web server log file analyzing program, and would like to make it configurable for more than one server's log file column arrangement. I am currently working with Windows IIS server logs, and would like to add to a configuration file, the column headers for log file formats from other servers such as Apache.
Could some of you who have servers other than Windows IIS please post your column headers for your server's log file in answer to this posting?
The Windows IIS log file has 22 columns with the following headers -
#Software: Microsoft Log Parser #Version: 1.0 #Date: 2010-03-30 03:59:05 #Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
Note that the first four lines of these server logs do not contain log data, but rather are log file specific lines describing the column headers, data and time, etc... Please include any details about leading lines in your specific servers log's files, and whether they are comma separated, or space separated. The log files I am working with now are space separated.
Thank you for your co-operation in providing me with this information. I'm writing the web log analyzer in Python, so pretty much everyone will be able to use it when I'm done, since Python is cross platform. 8-)
Edited by Ray Parrish, 01 April 2010 - 04:16 PM.