We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


AWSTATS LogResolveMerge on Windows 2003

Medium Priority
Last Modified: 2013-12-07
Hi Folks

I've been round in circles with this and am ready to pull any hair I might have left OUT! :)

I'm running AWSTATS on a Windows 2003 server. All working wonderfully well except that I simply cannot work out how to merge all the old logfiles into one file and get AWSTATS to correctly parse the resultant file. The file looks good and is approximately the size of all the logfiles added up together but when I then run awstats.pl on the file the result is all empty on the report. HELP!?

The sysntax I'm using to merge the files:
d:\awstats\tools\logresolvemerge.pl -dnslookup d:\website\W3CXXXXX\ex08*.log > 2008logs.log

The scan doesn't take nearly as long as I'd expect it to take and the result is a text file called 2008logs.log which, on inspection, looks OK. I then run the update for the report on that file like this:

d:\awstats\cgi-bin\awstats.pl -config=conffilename -update

The result is several .txt files, all exactly the same size (odd!) 6kb.

If I then go back to my web browser and run the report for year 2008 it tells me there were x thousands of non-view hits and all the stats are empty.

BAFFLED! Hope someone can point me in the right direction.

Watch Question

IT Tech Support
Hi Folks

OK - While waiting for a response from someone I think I managed to work out how to do this.

1. Copy all daily logfiles from IIS into one single file for a particular year using the command copy exyy*.log final_logfilename.log
2. Edit the AWSTATS config file for that particular site and add the new logfile name.
3. Run the awstats.pl file on the config file.


Now... to find out how to close this question but leave it here so other can see how I did this...

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.