mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Reworks Historical Flow Explorer UI to query on aggregated flows tables
This commit is contained in:
parent
95fb2a133d
commit
ffd45a6e41
6 changed files with 135 additions and 51 deletions
18
scripts/lua/modules/flow_aggregation_utils.lua
Normal file
18
scripts/lua/modules/flow_aggregation_utils.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue