Reworks Historical Flow Explorer UI to query on aggregated flows tables

This commit is contained in:
Simone Mainardi 2017-05-10 12:54:24 +02:00
parent 95fb2a133d
commit ffd45a6e41
6 changed files with 135 additions and 51 deletions

View file

@ -0,0 +1,18 @@
--
-- (C) 2014-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "template"
require "lua_utils"
function useAggregatedFlows()
if aggr_pref == nil then
aggr_pref = ntop.getPrefs()["is_flow_aggregation_enabled"]
end
return aggr_pref == true
--return false
end