homepage Welcome to WebmasterWorld Guest from 54.198.157.6
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
How To Get Raw Access Log File activity?
just the last hours instead of the entire month
rashe18




msg:3495591
 5:20 pm on Nov 3, 2007 (gmt 0)

Hello

Sometimes i need to check immediately the last activity in my server.

From Cpanel i access "Raw Access Log" and i select the raw log file to download but it gives me all the current month activity while i need the raw log activity only for the last 10 hours for example.

It is important for me because i am analyzing raw log files when server performance is flawed and i do not want to wait too much time downloading the raw log file.

Is there any solution?

Thanks

 

jdMorgan




msg:3495604
 5:55 pm on Nov 3, 2007 (gmt 0)

Some hosts offer uncompressed logs covering a shorter period of time, like days or hours, and then periodically move this data into a compressed monthly, weekly, or daily file.

Whether the logs are processed in this way, the time periods covered, and whether you have access to the logs depends on how your host has set things up.

Jim

bunltd




msg:3495607
 6:01 pm on Nov 3, 2007 (gmt 0)

If you have SSH access, you can take a look at the command line using tail. You could also use grep to pull out just the stuff you were interested in.

LisaB

rashe18




msg:3505257
 1:11 am on Nov 15, 2007 (gmt 0)

Thanks for your help.

Bunltd,

Yes, I have SSH access.

Can you tell me what's the command please?

phranque




msg:3505413
 3:59 am on Nov 15, 2007 (gmt 0)

tail -n /path/to/file.name

where "n" is an integer number of lines to be displayed.

Romeo




msg:3505690
 2:13 pm on Nov 15, 2007 (gmt 0)

... or tail -f /path/to/file.name
for a continuous realtime stream of new lines appending.
Ctrl-C to escape.

Kind regards,
R.

rashe18




msg:3505758
 3:04 pm on Nov 15, 2007 (gmt 0)

Hello again.

What do you mean by the path to file?

I need to see the latest logs of a specific user.

How can i define it?

It is a dedicated server and i am using putty.exe to access SSH.

Thanks.

phranque




msg:3505778
 3:20 pm on Nov 15, 2007 (gmt 0)

you need to find out (from your host) where your log files reside.
"/path/to/file.name" should be replaced by the directory path and file name given.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved