mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Adds IN_ and OUT_BYTES to historical flows tables
This commit is contained in:
parent
d6bc2ce91a
commit
96e964b14e
3 changed files with 20 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ function getInterfaceTopFlows(interface_id, version, host_or_profile, peer, l7pr
|
|||
sql = "select IP_SRC_ADDR, IP_DST_ADDR"
|
||||
end
|
||||
|
||||
follow = " ,L4_SRC_PORT,L4_DST_PORT,VLAN_ID,PROTOCOL,FIRST_SWITCHED,LAST_SWITCHED,PACKETS,IN_BYTES + OUT_BYTES as BYTES,idx,L7_PROTO,INFO"
|
||||
follow = " ,L4_SRC_PORT,L4_DST_PORT,VLAN_ID,PROTOCOL,FIRST_SWITCHED,LAST_SWITCHED,PACKETS,IN_BYTES + OUT_BYTES as BYTES,IN_BYTES,OUT_BYTES,idx,L7_PROTO,INFO"
|
||||
if ntop.isPro() then follow = follow..",PROFILE" end
|
||||
follow = follow.." from flowsv"..version.." where FIRST_SWITCHED <= "..end_epoch.." and FIRST_SWITCHED >= "..begin_epoch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue