I tried to register, but the password never made it to me… oh well here is my issue….
We have a problem with the stats for IIS site Allen Printing on web server #2. The situation is as follows:
There is a site on Web Server #2 called Allen Printing. It actually has 3 domains running off of it. Livestockplusinc.com, horsepowermagazine.net, and printersmarketplace.com
There is one log file directory with multiple log files (one for each day) In each log file, there is data for all 3 domains for a given day.
The directory for allen printing log files is on web server #2 e:\\logs\\AllenPrinting
The awstats program is supposed to search the log file in the log file directory and pull out the stats for the domain that is specified only:
For example:
The awstats config file dir is:
C:\\Inetpub\\virtuals\\secure.bitwiselogic.com\\stats
The printersmarketplace config file is: awstats.printersmarketplace.conf
In this file it says (among other things):
# “SiteDomain” must contain the main domain name, or the main intranet web
# server name, used to reach the web site.
# If you share the same log file for several virtual web servers, this
# parameter is used to tell AWStats to filter record that contains records for
# this virtual host name only (So check that this virtual hostname can be
# found in your log file and use a personalized log format that include the
# %virtualname tag).
# But for multi hosting a better solution is to have one log file for each
# virtual web server. In this case, this parameter is only used to generate
# full URL's links when ShowLinksOnUrl option is set to 1.
# If analysing mail log, enter here the domain name of mail server.
# Example: “myintranetserver”
# Example: “www.domain.com”
# Example: “ftp.domain.com”
# Example: “domain.com”
#
SiteDomain=”www.printersmarketplace.com“
Under normal operation, the awstats program reads the log file from the prev day and posts the data to the data directory (selecting only the data for the domain specified in the above variable “sitedomain”):
C:\\Inetpub\\virtuals\\secure.bitwiselogic.com\\stats\\data
The data files in this directory are the stats that are shown on the stats site when the client checks their stats.
We have a problem with the stats for all 3 sites (they are not correct) and need to resolve the stats by reviewing all the log files again. There is a tool for this called logresolvemerge.pl which will read all log files in a given dir and post data to the data dir. The problem is that logresolvemerge.pl does not seem to take into consideration the sitedomain= variable in the config file and is combining data for all three domains into each domain stats.
Logresolvemerge.pl is a script and is located in the following dir:
C:\\Inetpub\\virtuals\\secure.bitwiselogic.com\\stats\\tools
Do you know how to make logresolvemerge.pl only pull the data from the log files for a single domain? (keep in mind that we do have the sitedomain variable set and according to the awstats instructions, this should be working)
Help?!