Hey Guys,
I am sitting with a serious problem and I need help, we currently offer the Web Presence Builder to our clients but are having issues with incorrect traffic usage being recorded by AW and Webalizer.
Server Details
Plesk 11.0.9 Update #38
Ubuntu 12.04 LTS 64 Bit
Although stats are updated on a daily basis, for both AW and Webalizer the traffic recorded by these two stats generators do not match or even come close to what is being recorded by Plesk.
To test to make sure that Plesk is indeed recording the correct traffic usage, I used this command below.
cat access_log.processed | grep "Mar/2013" | awk '{SUM+=$10}END{print SUM/1024/1024}'
The output from running this command was 350.043MB. Now If you take a look at the screenshot I took in plesk, you will see that it matches the traffic usage generated.
As you can see in the screenshot, Webalizer has only recorded 2.8MB of traffic. I then started going through the access logs to see what stood out and I came accross these images files "/data/imagegallery/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg".
So I decided to check how much traffic is being generated by the images using the following command below and it appears that the images alone were generating 318MB/350Mb.
cat access_log.processed | grep "Mar/2013" | grep "/data/imagegallery/" | awk '{SUM+=$10}END{print SUM/1024/1024}'
So the problem appears to be with Webalizer/AW stats not recording the correct traffic usage for gallery images. Please advise if you any idea what could be causing this or if I need to change something in the webalizer.conf or awstats.conf file to resolve this issue.
I am sitting with a serious problem and I need help, we currently offer the Web Presence Builder to our clients but are having issues with incorrect traffic usage being recorded by AW and Webalizer.
Server Details
Plesk 11.0.9 Update #38
Ubuntu 12.04 LTS 64 Bit
Although stats are updated on a daily basis, for both AW and Webalizer the traffic recorded by these two stats generators do not match or even come close to what is being recorded by Plesk.
To test to make sure that Plesk is indeed recording the correct traffic usage, I used this command below.
cat access_log.processed | grep "Mar/2013" | awk '{SUM+=$10}END{print SUM/1024/1024}'
The output from running this command was 350.043MB. Now If you take a look at the screenshot I took in plesk, you will see that it matches the traffic usage generated.
As you can see in the screenshot, Webalizer has only recorded 2.8MB of traffic. I then started going through the access logs to see what stood out and I came accross these images files "/data/imagegallery/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.jpg".
So I decided to check how much traffic is being generated by the images using the following command below and it appears that the images alone were generating 318MB/350Mb.
cat access_log.processed | grep "Mar/2013" | grep "/data/imagegallery/" | awk '{SUM+=$10}END{print SUM/1024/1024}'
So the problem appears to be with Webalizer/AW stats not recording the correct traffic usage for gallery images. Please advise if you any idea what could be causing this or if I need to change something in the webalizer.conf or awstats.conf file to resolve this issue.