diff options
author | Simon Rettberg | 2021-11-25 17:59:14 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-09 15:06:54 +0100 |
commit | 3c5509a5e92d154e2673105aa93df436a80a3724 (patch) | |
tree | 6dc71193cf5ffa0189de069e0b4de0135ade282a /modules-available/eventlog/pages | |
parent | [statistics] Support IOMMU for AMD (diff) | |
download | slx-admin-3c5509a5e92d154e2673105aa93df436a80a3724.tar.gz slx-admin-3c5509a5e92d154e2673105aa93df436a80a3724.tar.xz slx-admin-3c5509a5e92d154e2673105aa93df436a80a3724.zip |
[eventlog] Allow filtering by select hardware info (to be extended)
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); } |