Hi,
I have a problem with the reading a processing the file logs wit SEC 2.6.2
on Windows. I use Strawberry Perl.
I have a main file with regexp and Jump rules for post processing log lines.
Example(invented):
rem = Alert 001
type = Jump
ptype = RegExp
desc = $0
continue = DontCont
pattern = (.*)
varmap = alert;log=0;
cfset = alertSet
After this rules, previously we had problems with the reading and i added
this calls from SEC library.
#Force reopen file logs at 06:15
type=Calendar
time= 15 6 * * *
desc= $0
action= lcall %o -> ( sub { main::read_options(); main::open_input(-1,
$keepopen); } )
#Open Files not open yet
#type=Calendar
#time= */5 * * * *
#desc= $0
#action= lcall %o -> ( sub { main::open_input(0,1); } )
#Reload configuration after 2 hours.
type=Calendar
time= */15 * * * *
desc= $0
action= eval %o (sleep 61;);\
lcall %o -> ( sub { main::read_config(); } )
The problem it´s when i rexecute(finish process and execute again) alerts
get duplicated in the output file. any idea to solve this?
I have another doubt where or how do you create file paths from log files
in library?
Sorry for my english.
Thank you!. Regards. :)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users