Hi Folks!

I'm banging my head in trying to get the logic behind doing this, so any
pointers are appreciated..

I'm (trying to anyway ;) parse a log file, which would contain:

AlarmInd:At=1025647244084,Point=Adm.Monitor,Text=process stops due to client
disconnected,Code=1,

So, here is an Alarm Indication, UTC time when occurred, where it occurred
in the app., a text describing the problem, and an error code. Now, what I
want to do is to output that a problem occurred, what it was, when, where,
and how many times it reoccurred in this log file. I guess I'd need to index
this based on the error code (for simplicities sake), sort on where it
occurred, and add a counter into the equation.

I just have no clue as to _how_ to perform this, and if it is feasible at
all to do it.. ;)

Have no code to show, since I'm still battling with the logic, and what to
use to accomplish this. Would there possibly be a module that could help me
for example? This is probably something that has come up before at some
stage, so I'd assume someone has something similar running somewhere. If
not, I have a feeling Drieux will put something together, considering all
the time he has on his hands.. ;) (Sorry Drieux! ;)

TIA!

Best Regards

Anders Holm
Critical Path Technical Support Engineer
----------------------------------------------------------------------
Tel USA/Canada: 1 800 353 8437
Tel Worldwide:  +1 801 736 0806
E-mail:         [EMAIL PROTECTED]
Internet:       http://support.cp.net



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to