mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used
This commit is contained in:
parent
3b72506ab0
commit
e59d699837
10 changed files with 281 additions and 19 deletions
|
|
@ -16,7 +16,7 @@ dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
|||
ifstats = interface.getStats()
|
||||
|
||||
sql = _GET["sql"]
|
||||
print('<p><form>SQL: <input type=text name=sql size="80" value="')
|
||||
print('<p><form>SQL: <input type=text name=sql size="160" value="')
|
||||
|
||||
if((sql == nil) or (string.len(sql) == 0)) then
|
||||
sql = "select * from flowsv4_"..ifstats.id.." order by LAST_SWITCHED desc limit 10"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue