mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Merge branch 'v3-stable' into beta
This commit is contained in:
commit
6638b6fd44
@ -927,11 +927,21 @@ abstract class LogStream {
|
|||||||
break;
|
break;
|
||||||
/* END WebLog based fields */
|
/* END WebLog based fields */
|
||||||
default:
|
default:
|
||||||
|
/* OLD CODE
|
||||||
// Custom Field, try to guess field!
|
// Custom Field, try to guess field!
|
||||||
|
|
||||||
if ( isset($fields[$tmpArray[FILTER_TMP_KEY]]) && isset($fields[$tmpArray[FILTER_TMP_KEY]]['SearchField']) )
|
if ( isset($fields[$tmpArray[FILTER_TMP_KEY]]) && isset($fields[$tmpArray[FILTER_TMP_KEY]]['SearchField']) )
|
||||||
{
|
{
|
||||||
$tmpKeyName = $tmpArray[FILTER_TMP_KEY];
|
$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'];
|
$tmpFilterType = $fields[$tmpKeyName]['FieldType'];
|
||||||
|
|
||||||
// Handle numeric fields!
|
// Handle numeric fields!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user