mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes date/time len and disabled ex list for flow alerts
Fixed len of date/time column to 5% and disable exclusion list for the alerts already disabled
This commit is contained in:
parent
1524deae52
commit
eac59ae1d5
5 changed files with 11 additions and 5 deletions
|
|
@ -131,6 +131,7 @@ for k,v in ipairs(alerts) do
|
|||
local column_subdir = ""
|
||||
local column_script_key = ""
|
||||
local column_ndpi = ""
|
||||
local column_filter_disabled = false
|
||||
|
||||
if v["l7_proto"] and v["l7_master_proto"] then
|
||||
local app = create_ndpi_proto_name(v)
|
||||
|
|
@ -211,6 +212,8 @@ for k,v in ipairs(alerts) do
|
|||
-- Checking if the filter column needs to be skipped
|
||||
if user_scripts.excludeScriptFilters(alert, record["column_confset_id"], record["column_script_key"], record["column_subdir"]) == false then
|
||||
record["column_filter"] = user_scripts.getFilterPreset(alert, alert_info)
|
||||
elseif record["column_subdir"] == "flow" then
|
||||
record["column_filter_disabled"] = true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue