Forum Moderators: DixonJones

Message Too Old, No Replies

Tail -f access_log

Any program to make it more readable

         

roycerus

1:54 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



Is there any windows based client or linux based script to make it more readable?

trillianjedi

2:25 pm on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you looking for a log analyser that works in realtime?

I would have thought you could pipe the tail output to GREP in order to strip what you need.

TJ

bcc1234

2:30 pm on Apr 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tail -f filename ¦ cut -c 1-aaa

where aaa is the width of your terminal.

roycerus

3:24 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



Is there any way to just take a look at the IP address ¦ referer ¦ page?
Still trying the figure out how to do this. :(

dcrombie

3:43 pm on Apr 6, 2005 (gmt 0)



These should get you started:

tail -f combined_log ¦ awk '{print $1,$7,$9}'

and:

tail -f combined_log ¦ awk -F\" '{print $2,$6}'

;)

roycerus

4:59 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



PERFECT!
Thanks a ton. :-)