Re: cisco log parsing

2002-05-30 Thread drieux
On Wednesday, May 29, 2002, at 12:29 , Hernan Marcelo Salvarezza wrote: > Hello people [..] > the scripts works fine with a small log but when i try to run it in the > long log file it displays all the log file > just as if it is being opened with cat. way strange... > I am trying to get just

cisco log parsing

2002-05-29 Thread Hernan Marcelo Salvarezza
Hello people i been working on this script provided by drieux but i still have some doubts about it. http://www.wetware.com/drieux/pbl/Sys/Admin/CiscoParser1.txt the scripts works fine with a small log but when i try to run it in the long log file it displays all the log file just as if it is

Re: cisco log parsing

2002-05-27 Thread drieux
On Monday, May 27, 2002, at 07:30 , Hernan Marcelo Salvarezza wrote: [..] > > the log goes like this > > May 16 08:03:58 10.0.0.1 38#0015556, SetupTime 11:06:31.062 > DisconnectTime 11:10:06.922 > May 16 08:03:58 10.0.0.1 38#0015556,SetupTime 11:06:31.062 > DisconnectTime 11:10:06.9

Re: cisco log parsing

2002-05-27 Thread Janek Schleicher
Hernan Marcelo Salvarezza wrote at Mon, 27 May 2002 16:30:38 +0200: > Hello all i am parsing a cisco cdr log and i am having some problems to create the >adecuate regexp > > the log goes like this > > May 16 08:03:58 10.0.0.1 38#0015556, SetupTime 11:06:31.062 DisconnectTime >11:10:06.

Re: cisco log parsing

2002-05-27 Thread David vd Geer Inhuur tbv IPlib
Hi Hernan, First I would like to say please start using perl instead of system calls. This makes life a lot easier, I know I did it as well, but try to find solutions for you system calls : open (FH, "< logprueba.log") @logprueba = ; close FH; Now you can start filtering : foreach $pruebalog(

cisco log parsing

2002-05-27 Thread Hernan Marcelo Salvarezza
Hello all i am parsing a cisco cdr log and i am having some problems to create the adecuate regexp the log goes like this May 16 08:03:58 10.0.0.1 38#0015556, SetupTime 11:06:31.062 DisconnectTime 11:10:06.922 May 16 08:03:58 10.0.0.1 38#0015556,SetupTime 11:06:31.062 DisconnectTim