Jump to content

Awstats Question

Recommended Posts



I am a user from Sydney, and I've recently moved hosts from an Australian server to TCH. It always confuses me when reading awstats now that the server-time is no longer local time for me.


Is there a way to offset the time differences so awstats will display in local time for me? (GMT+10) I've read through the .conf file but couldnt find anything to change there. :huh:



Link to comment
Share on other sites

I do believe that the time stamp on the log file is placed as local server time, and the Timezone plugin is just for viewing in the web interface and has no affect on the raw logs you can download.


I will ask the other mods about this, but maybe one will peek in here and give you a more firm answer before I get back.

Link to comment
Share on other sites

I'm not intimately familiar with all of the AWStats configuration options, but as these are shared resources, I don't see any way to have awstats display different timezones based on domains as I take a cursory look through it.


About the only way I think you could really do that is to grab the raw log files, and use a local log analysis program that would adjust the times for you.


Maybe that would be a good feature request for a future version of AWStats. :)


Btw, VI, the only timezone plugin I found for AWStats is only to correct a timezone issue with a processing a certain Microsoft IIS logformat.

Edited by TCH-MikeJ
Link to comment
Share on other sites

The following is from Awstats page on SourceForge.



# Plugin: TimeZone

# Perl modules required: Time::Local

# Allow AWStats to correct a bad timezone for user of some IIS that use

# GMT date in its log instead of local server time.

# This module is useless for Apache and most IIS version.

# This plugin reduces AWStats speed of 40% !!!!!!!

Plugin provided with AWStats (5.1+)

Edited by TCH-Dick
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...