RE: Sorting out of sequence log Apache log file



Allen K. Smith <mailto:lazlor@xxxxxxxxxxxxxxxxxx>
on Wednesday, April 26, 2006 1:04 PM said:

sort -t[ -k 2.4,6M -k 2.1,2n access_log

Maybe I'm not using it correctly but that made the file even worse.

# sort -t[ -k 2.4,6M -k 2.1,2n Feb-14.log > Feb-14_sorted2.log

After about a minute I got back a file with the log entries mixed up
even more. Did I do something wrong?



Thanks,
Chris.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list