OperationThe Sawmill software offers a web-based interface for configuring and generating reports with the software. The login screen is as follows: If viewing this document in online form, click the image for a larger version. Once the user is successfully authenticated, the are presented with the main screen as follows: If viewing this document in online form, click the image for a larger version. More details to come regarding how to configure and generate reports. Generate LogsThis section details the log format we will use for the Report Service, and how to setup your Apache or Tomcat web servers to produce the logs. Log FormatThe log format we will be using is the Apache NCSA Combined Format, with the format string as follows: %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"{User-agent}i\" Where each value is as follows (a "hyphen" in the output indicates that the requested piece of information is not available):
We are using this log format because it is a commonly used format that provides more useful metrics that allow Sawmill to ignore extraneous log entries (e.g., bots, web crawlers, worms). Setup TomcatTomcat produces access logs that record all requests processed by the web container. The following are the steps needed to configure the server to create the Combined Format logs:
Setup ApacheApache produces access logs that record all requests processed by the server. The following are the steps needed to configure the server to create the Combined Format logs:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined CustomLog "||$APACHE_HOME/bin/rotatelogs \ $LOG_DIR/access_log.%Y-%m-%d.txt 86400" combined
|