Implements alerts export to file

Implements #4769
This commit is contained in:
Simone Mainardi 2020-12-31 14:01:18 +01:00
parent fe80067f5b
commit 9e7340c16a
2 changed files with 34 additions and 6 deletions

View file

@ -55,12 +55,7 @@ if what == "engaged" then
engaged = true
end
local alert_options = {
epoch_begin = epoch_begin,
epoch_end = epoch_end,
alert_type = alert_type,
alert_severity = alert_severity,
}
local alert_options = _GET
local alerts = alert_utils.getAlerts(what, alert_options)