mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-25 18:59:12 +02:00
Filtering fields did not effect chart generation, this has been fixed now.
Filtering fields will now be added into the columns list of the logstream source when generating charts.
This commit is contained in:
parent
fed24ca3e9
commit
453b418439
@ -147,7 +147,7 @@ if ( !$content['error_occured'] )
|
|||||||
if ( $aFilterFields != null )
|
if ( $aFilterFields != null )
|
||||||
$content['ChartColumns'] = $aFilterFields;
|
$content['ChartColumns'] = $aFilterFields;
|
||||||
|
|
||||||
// append mandetory fields
|
// Append mandetory fields
|
||||||
if ( !in_array(SYSLOG_UID, $content['ChartColumns']) )
|
if ( !in_array(SYSLOG_UID, $content['ChartColumns']) )
|
||||||
$content['ChartColumns'][] = SYSLOG_UID;
|
$content['ChartColumns'][] = SYSLOG_UID;
|
||||||
if ( !in_array($content['chart_field'], $content['ChartColumns']) )
|
if ( !in_array($content['chart_field'], $content['ChartColumns']) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user