Is it possible to use a variable in a regex?
Lala10040
(Last updated
)
Hello all,
In the below code, “CID.*” is the regex that im using but in order to make the code generic I need to use a variable instead of regex, kindly let me know the fix for it or a way to go arround it .
Main issue: I need to run “supressed” function for every different log separately such that one log of every type is suppressed.
Thanks!!
<Processor dup_drop>
Module pm_evcorr
<Suppressed>
Condition $raw_event =~ /CID.*/
Interval 90
Exec $MSG = $raw_event;
</Suppressed>
</Processor>