mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Fixed REGEX filtering bug id #536
See here for more: http://bugzilla.adiscon.com/show_bug.cgi?id=536
This commit is contained in:
parent
0a31fa373e
commit
09ac9ec815
@ -465,6 +465,10 @@ abstract class LogStream {
|
||||
switch( $myfilter[FILTER_TYPE] )
|
||||
{
|
||||
case FILTER_TYPE_STRING:
|
||||
// Do not FILTER for REGEX Values here!
|
||||
if ( $myfilter[FILTER_MODE] & FILTER_MODE_SEARCHREGEX )
|
||||
continue;
|
||||
|
||||
// Only filter if value is non zero
|
||||
if ( strlen($propertyvalue) > 0 && strlen($myfilter[FILTER_VALUE]) > 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user