I have a webserver log that is not in order by date and was wondering if I could use ultra edit to sort the file by the date field?
I need to make the ip field a standard length by adding leading zeros to makke each octet 3 numbers then sort the file by the date field. Can someone help me with this. this is a one time thing and I need to get it done i can paypal a little SPAM for the solution.
thanks jr
for example:
128.135.x.x - - [16/Jan/2005:22:16:51 +0000] "GET /jibbajabba
4.224.x.x - - [16/Jan/2005:22:15:29 +0000] "GET /foo
63.24.x.x - - [16/Jan/2005:22:13:10 +0000] "POST /smart
66.102.x.x - - [16/Jan/2005:22:15:08 +0000] "GET /some coffee
I need to make the ip field a standard length by adding leading zeros to makke each octet 3 numbers then sort the file by the date field. Can someone help me with this. this is a one time thing and I need to get it done i can paypal a little SPAM for the solution.
thanks jr
for example:
128.135.x.x - - [16/Jan/2005:22:16:51 +0000] "GET /jibbajabba
4.224.x.x - - [16/Jan/2005:22:15:29 +0000] "GET /foo
63.24.x.x - - [16/Jan/2005:22:13:10 +0000] "POST /smart
66.102.x.x - - [16/Jan/2005:22:15:08 +0000] "GET /some coffee