Squid log viewer

Protecting your Linux box

Squid log viewer

Postby turab » Wed Sep 13, 2006 9:35 am

Salam,
Is there any log viewer for access.log of squid ?

Regards,
Turab
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try it!!!
assumption is the mother of all f*** ups

Register Lynx user # 425340
turab
Company Havaldaar Major
 
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
WLM: iba_lookz@hotmail.com
Yahoo Messenger: turabali@yahoo.com

Postby Saad Khan » Wed Sep 13, 2006 10:26 am

use squid analysis report generator, it will give you detail report.
http://sarg.sourceforge.net/
Saad Khan
Company Havaldaar Major
 
Posts: 155
Joined: Sun Jun 11, 2006 6:19 pm
Location: Karachi

Postby turab » Wed Sep 13, 2006 10:38 am

Smoothwallexpress
Good Judgement comes from Experience and Experience comes from bad Judgement!!

The more I know, the more I realize I don't know!?

The easiest way to find out is to try it!!!

assumption is the mother of all f*** ups



Register Lynx user # 425340
turab
Company Havaldaar Major
 
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
WLM: iba_lookz@hotmail.com
Yahoo Messenger: turabali@yahoo.com

Postby Saad Khan » Wed Sep 13, 2006 11:58 am

its a firewall, and u were interested in log viewer :)
Saad Khan
Company Havaldaar Major
 
Posts: 155
Joined: Sun Jun 11, 2006 6:19 pm
Location: Karachi

Postby sevensins » Wed Sep 13, 2006 2:30 pm

sawmill
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
 
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
ICQ: 3655945
Website: http://www.us-cert.gov/
WLM: shehzad_h@hotmail.com
Yahoo Messenger: shehzadhamid@yahoo.com
Location: PAKISTAN

Postby turab » Wed Sep 13, 2006 2:43 pm

Salam Saad,
Thanks ;)
Good Judgement comes from Experience and Experience comes from bad Judgement!!

The more I know, the more I realize I don't know!?

The easiest way to find out is to try it!!!

assumption is the mother of all f*** ups



Register Lynx user # 425340
turab
Company Havaldaar Major
 
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
WLM: iba_lookz@hotmail.com
Yahoo Messenger: turabali@yahoo.com

Postby kbukhari » Wed Sep 20, 2006 2:28 pm

you can use this scrip
#!/bin/bash

# srcipt for fine tunning the squid access.log file

tail -f /var/log/squid/access.log | awk '{printf(" %-17s | %-27s |
%-7s | %-s |%-s\n",$3,$4,$5,$6,substr($7,0,30))}'

if not sure how to use then please ask me
--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Postby lambda » Wed Sep 20, 2006 8:38 pm

use the code tag for such commands, and use \ where wrapping won't work:

Code: Select all

tail -f /var/log/squid/access.log | \
awk '{printf(" %-17s | %-27s | %-7s | %-s |%-s\n",$3,$4,$5,$6,substr($7,0,30))}'
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Postby kbukhari » Thu Sep 21, 2006 12:11 pm

lambda wrote:use the code tag for such commands, and use \ where wrapping won't work:

Code: Select all

tail -f /var/log/squid/access.log | \
awk '{printf(" %-17s | %-27s | %-7s | %-s |%-s\n",$3,$4,$5,$6,substr($7,0,30))}'

thanks to correct me
--

Syed Kashif Ali Bukhari

+92-345-8444420

http://sysadminsline.com

http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 1 guest

cron