mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
Checked and Merged Patch from BUGID 288
Thganks to Jeff for submitting the patch
This commit is contained in:
parent
ee37e43981
commit
62ade11c50
@ -927,11 +927,21 @@ abstract class LogStream {
|
||||
break;
|
||||
/* END WebLog based fields */
|
||||
default:
|
||||
/* OLD CODE
|
||||
// Custom Field, try to guess field!
|
||||
|
||||
if ( isset($fields[$tmpArray[FILTER_TMP_KEY]]) && isset($fields[$tmpArray[FILTER_TMP_KEY]]['SearchField']) )
|
||||
{
|
||||
$tmpKeyName = $tmpArray[FILTER_TMP_KEY];
|
||||
*/
|
||||
// Custom Field, try to find field!
|
||||
foreach ($fields as $aField) {
|
||||
if ($aField['SearchField'] == $tmpArray[FILTER_TMP_KEY]) {
|
||||
$tmpKeyName = $aField['FieldID'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( isset($fields[$tmpKeyName]) && isset($fields[$tmpKeyName]['SearchField']) )
|
||||
{
|
||||
$tmpFilterType = $fields[$tmpKeyName]['FieldType'];
|
||||
|
||||
// Handle numeric fields!
|
||||
|
Loading…
x
Reference in New Issue
Block a user