# Example : "/var/log/apache/access.log" # Example : "./logs/mycombinedlog.log" # You can also use tags in this filename if you need a dynamic file name # depending on date or time ( Replacement is made by AWStats at the beginning # of its execution ).
Awstats rss full#
# Possible values : A full path, or a relative path from awstats. 338 $ - $ Author : eldy $ - $ Date : 2009 / 09 / 08 17 : 10 : 30 $ # - # MAIN SETUP SECTION ( Required to make AWStats work ) # - # "LogFile" contains the web, ftp or mail server log file to analyze. ) # To include an environment variable in any parameter ( AWStats will replace # it with its value when reading it ), follow the example : # Parameter = "_ENVNAME_" # Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with # the config value in an AWStats running session and can be used like others. # The config file must be in / etc / awstats, / usr / local / etc / awstats or / etc ( for # Unix / Linux ) or same directory than awstats. conf and edit this new config file # to setup AWStats ( See documentation in docs / directory ).
Awstats rss windows#
So to automate the process of compiling your stats, set up a Windows Scheduled Task which runs the command you used above to build the stats on the interval you configured.# AWSTATS CONFIGURE FILE 6. One of the configurations we set in the config file is the ‘LogFile’ location which defines the amount of hours to subtract from the date portions of the file. To test our configuration, just browse to: This URL is publically available for anyone to view unless you configure security via IIS. The config file is named “”.įinally, you can access the stats data through your browser.Perl was installed to the “C:Perl” directory.The folder “C:inetpubwwwrootawstats” serves the stats through IIS.The above command assumes the following (configuration used for this article): Once you have saved your configuration file, run the AWStats Perl Script to compile the stats data. HostAliases=”11.22.33.44″ (any other URL’s which point to your site).LogFormat=”date time cs-method cs-uri-stem cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-bytes”.LogFile=”C:WINDOWSsystem32LogFilesW3SVC1ex%YY-4%MM-4%DD-4.log” (Server 2003/IIS 6 where the stats are calculated every 4 hours to be updated throughout the day).LogFile=”C:inetpublogsLogFilesW3SVC1u_ex%YY-24%MM-24%DD-24.log” (Server 2008/IIS 7 where the stats are calculated daily).Here are a few settings of interest according to the setup above: This file has a very good explanation of what each option does, so take a few minutes to review them. Set the options in the configuration file. You can find the IIS ID by looking at the master site listing in IIS Manager and noting the value in the ID column next to the respective site. Server 2008: C:inetpublogsLogFilesW3SVC.Server 2003: C:WINDOWSsystem32LogFilesW3SVC.The first thing you will need to configure is the log file location, which by default is located here: Once the files are extracted, copy the “” file to a file named “” (where is the site to track), open it in Notepad and configure the options as needed.