

Searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record. Go to the `./by AWStats version 7.0 (build 1.971)įrom data in log file "/var/log/tomcat/access.log". With the above configuration (the name of which is 'demo' as shown earlier), this analysis task will analyze the log file configured by 'LogFile' directive, and the internal data will be stored in the directory configured by 'DirData' directive.Ĥ. # Set the data directory where AWStats internal data files are stored. # For Apache Common Log Format (e.g., Tomcat access log), set it to 4. # Examples for Apache combined logs (following two examples are equivalent): Here are what you need to edit at least in the configuration file (e.g., `./# Setting the configuration fileLet's open and edit the configuration file for the 'demo' analysis task.Īssuming you're going to analyze a Tomcat access log file, which is in Apache Common Log format. The above execution will generate the configuration file for the demo into the `./file.ģ. In the second prompt, I just typed 'demo' for a demo analysis task. In the above example, I just installed AWStats just to generate reports offline from access log files without installing onto Apache Web Server for simplicity. Your web site, virtual server or profile name: What is the name of your web site or profile analysis ? > Need to create a new config file ?ĭo you want me to build a new AWStats config/profile file (required if first install) ? y You can start from the script like the following example.ĭo you want to continue setup from this NON standard directory ? y Install AWStats If you extract the compressed AWStats distribution file, then you can find the `awstats_' script under `tools' directory. See the online documentation if you're interested in: Ģ.
#Cgi bin awstats awstats pl pdf#

#Cgi bin awstats awstats pl how to#
Here's how to generate reports with AWStats from an access log file: In my case, I needed to collect summary data from Tomcat access log files and build proper sample data for load testing. When you want to analyze the web access pattern from the web access logs, AWStats ( ) is a handy solution.
