Welcome to WebmasterWorld Guest from 35.153.73.72

Forum Moderators: phranque

Message Too Old, No Replies

How to read split log files

Format I'm not used to, can someone explain?

     
10:27 am on Mar 4, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Hi all,

My new host has logs for each day. Like this:

site.com-yyyymmdd.gz

I'm used to one big file. How do I use these logs in a program like sawmill? - I'm a bit lost and a little direction would be greatly appreciated.

Thanks

Nick

10:48 am on Mar 4, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 30, 2000
posts:520
votes: 4


Hi Nick, just unzip the .gz file and proceed as normal you can also use something like filemerger to merge all the daily log files.
10:50 am on Mar 4, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member sem4u is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 18, 2002
posts:3081
votes: 2


I use FileMerger all the time; dead simple to use and really handy.
3:51 pm on Mar 4, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 4, 2002
posts:5044
votes: 0


Thanks guys, is Filemerger a *nix tool?

Is there any nix tool that would do this without to much problem?

Nick

6:06 am on Mar 5, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 16, 2000
posts:122
votes: 0


Hi Nick,

The following method is quick and effective on a *nix machine.

cat site.com-03-03-01 >> access.log
cat site.com-03-03-02 >> access.log
cat site.com-03-03-03 >> access.log