Re: [Simple-evcorr-users] How can I get a list of all contexts?

2008-12-11 Thread Risto Vaarandi
Ralf Schmitt wrote: > Tim, > > thank you ... 'keys %main::context_list' is exactly what I need and your > example helped me to understand the usage. > > Regards, > > Ralf Schmitt > hi Ralph, I'd propose another solution to your problem. If all you want to do is to count unique IP addre

Re: [Simple-evcorr-users] How can I get a list of all contexts?

2008-12-06 Thread Ralf Schmitt
Tim, thank you ... 'keys %main::context_list' is exactly what I need and your example helped me to understand the usage. Regards, Ralf Schmitt >> so what I need is something like "SRC_*" ... But >> I have no idea, how to do this :( >> > I believe Jim Brown did something similar this a

Re: [Simple-evcorr-users] How can I get a list of all contexts?

2008-12-06 Thread Tim Peiffer
> so what I need is something like "SRC_*" ... But > I have no idea, how to do this :( > I believe Jim Brown did something similar this a while back to list contexts during a shutdown event. My memory is hazy, so I can't quote the source.The context names are listed as keys of %main::co

[Simple-evcorr-users] How can I get a list of all contexts?

2008-12-06 Thread Ralf Schmitt
Hello SEC users, How can I get a list of all contexts, that have been created? Here are two simple rules to explain my problem: # add an ssh failure to the context SRC_ type=Single continue=takenext ptype=RegExp desc=bad ssh from $2 context=!SRC_$2 pattern=sshd\[\