High Paying Adsense List - Song Lyrics - Loan - Wordpress Themes - Wordpress Themes

PDA

View Full Version : I need some help with server log files....


NewComputer
Jun 4th 2005, 11:30 am
I have to setup a page where a client can view their log file activities. I have FTP access to their server, but thats it. The log files are there. They want me to set up a page where they can view current log files. My servers use CPanel and include AWstats etc...

I need to set something up for them? Can anyone help...

Bernard
Jun 4th 2005, 12:16 pm
If they are competent to d/l the log files, have them d/l the freeware/demo version of FunnelWeb. It's far superior to Awstats.

Crazy_Rob
Jun 4th 2005, 12:18 pm
They want to view the log files? Or do you want a stats package to process them?

NewComputer
Jun 4th 2005, 12:18 pm
The problem is, they are using apache and the log files are setup as one massive access log. Having them download that everyday will consume a massive amount of bandwidth.

NewComputer
Jun 4th 2005, 12:19 pm
They want to view the log files? Or do you want a stats package to process them?

They want the 'pretty layout' with referrers, search terms etc...

Bernard
Jun 4th 2005, 12:33 pm
If money isn't a problem, I'd recommend looking at Urchin.

Crazy_Rob
Jun 4th 2005, 12:48 pm
I use Urchin 3, 5 and UTM.

It's a great product.

J.D.
Jun 4th 2005, 1:31 pm
The problem is, they are using apache and the log files are setup as one massive access log. Having them download that everyday will consume a massive amount of bandwidth.You can try getting just the tail of the log file. Keep in mind that this command isn't supported by all FTP servers. Run the ftp utility from the command prompt (the one on Windows doesn't support this syntax, however, MS FTP server does) and execute these commands:

# ftp ftp.my-server.com
...
cd <log file directory>
restart <number -- offset from the start of the file>
get access_log

This should get you the portion of the access_log file starting from the number following the restart command.

Edit: you can also use the reget command - it gets the rest of the file if it already exists in your local folder:

# ftp ftp.my-server.com
...
cd <log file directory>
reget access_log

J.D.