mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added score in flow analysis table
This commit is contained in:
parent
026ed076fc
commit
f24c21bf6d
4 changed files with 31 additions and 13 deletions
|
|
@ -32,6 +32,7 @@ for _, data in pairs(aggregated_info) do
|
|||
local bytes_sent = data.bytes_sent
|
||||
local bytes_rcvd = data.bytes_rcvd
|
||||
local total_bytes = bytes_rcvd + bytes_sent
|
||||
|
||||
res[#res + 1] = {
|
||||
flows = format_high_num_value_for_tables(data, 'num_flows'),
|
||||
application = {
|
||||
|
|
@ -45,6 +46,7 @@ for _, data in pairs(aggregated_info) do
|
|||
bytes_rcvd = bytes_rcvd,
|
||||
bytes_sent = bytes_sent,
|
||||
tot_traffic = total_bytes,
|
||||
tot_score = data.total_score,
|
||||
num_servers = format_high_num_value_for_tables(data, 'num_servers'),
|
||||
num_clients = format_high_num_value_for_tables(data, 'num_clients'),
|
||||
vlan_id = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue