Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Syslog files revisited

by johngg (Abbot)
on Aug 10, 2012 at 19:06 UTC ( #986808=note: print w/replies, xml ) Need Help??

in reply to Re^2: Syslog files revisited
in thread Syslog files revisited

The user=<gonenow>, etc etc case can probably be got around with a couple of minor changes to the code. The user=gonenow sent=34 recv=34 is more of a problem as it fails the premise on which the split approach was based. I'd probably wrap the original code in an if condition and deal with the non-comma-separated lines in an else clause.

It just so happens that I am about to go on holiday so I will not be able to provide further help for a week or so. I suggest you create another question in SoPW, linking to this thread, and post some example data lines illustrating your problem so that others can perhaps help you build on the solution you have so far.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986808]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2016-10-26 15:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (341 votes). Check out past polls.