diff options
Diffstat (limited to 'modules-available/eventlog/pages')
-rw-r--r-- | modules-available/eventlog/pages/rules.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/eventlog/pages/rules.inc.php b/modules-available/eventlog/pages/rules.inc.php index b00dcf08..5ba1713b 100644 --- a/modules-available/eventlog/pages/rules.inc.php +++ b/modules-available/eventlog/pages/rules.inc.php @@ -169,6 +169,10 @@ class SubPage FROM notification_backend nb LEFT JOIN notification_rule_x_transport sfxb ON (sfxb.transportid = nb.transportid AND sfxb.ruleid = :id)", ['id' => $id]); + if (Module::isAvailable('statistics')) { + // Filter keys to suggest for events with machineuuid in data + $data['machine_keys'] = array_keys(FilterRuleProcessor::HW_QUERIES); + } Render::addTemplate('page-filters-edit-rule', $data); } |