Forum Moderators: phranque

Message Too Old, No Replies

How to read split log files

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

         

Nick_W

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

WebmasterWorld Senior Member 10+ Year Member



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

maccas

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

10+ Year Member



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.

sem4u

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

WebmasterWorld Senior Member 10+ Year Member



I use FileMerger all the time; dead simple to use and really handy.

Nick_W

3:51 pm on Mar 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks guys, is Filemerger a *nix tool?

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

Nick

Gorufu

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

10+ Year Member



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