On 11/9/05, Giorgos Keramidas [EMAIL PROTECTED] wrote:
On 2005-11-09 13:44, Bart Silverstrim [EMAIL PROTECTED] wrote:
On Nov 9, 2005, at 1:03 PM, Giorgos Keramidas wrote:
Yes. Perl should work fine here.
$ echo '1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET' | \
On 2006-01-03 14:05, Doug Poland [EMAIL PROTECTED] wrote:
I wrote some time ago:
$ echo '1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET' | \
perl -MPOSIX=strftime \
-pe 'chomp; @x=split /\./; \
$ts = strftime %Y-%m-%d %H:%M:%S, (localtime($x[0])); \
I have Squid running on a FreeBSD system and the log file (access.log)
has lines like
1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET
http://www.urprize2.com/adv77/images/header_08_23_05.gif - NONE/-
image/gif
1131556815.584 47 172.16.2.153 TCP_HIT/200 1828 GET
On 2005-11-09 12:36, Bart Silverstrim [EMAIL PROTECTED] wrote:
I have Squid running on a FreeBSD system and the log file (access.log)
has lines like
1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET
http://www.urprize2.com/adv77/images/header_08_23_05.gif - NONE/-
image/gif
On Nov 9, 2005, at 1:03 PM, Giorgos Keramidas wrote:
On 2005-11-09 12:36, Bart Silverstrim [EMAIL PROTECTED]
wrote:
I have Squid running on a FreeBSD system and the log file (access.log)
has lines like
1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET
On 2005-11-09 13:44, Bart Silverstrim [EMAIL PROTECTED] wrote:
On Nov 9, 2005, at 1:03 PM, Giorgos Keramidas wrote:
Yes. Perl should work fine here.
$ echo '1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET' | \
perl -MPOSIX=strftime \
-pe 'chomp; @x=split /\./; \
On Nov 9, 2005, at 1:48 PM, Giorgos Keramidas wrote:
On 2005-11-09 13:44, Bart Silverstrim [EMAIL PROTECTED]
wrote:
On Nov 9, 2005, at 1:03 PM, Giorgos Keramidas wrote:
Yes. Perl should work fine here.
$ echo '1131556815.537101 172.16.2.153 TCP_HIT/200 35674 GET'
| \
perl