mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added score stats to VLAN/Country/AS/Network
This commit is contained in:
parent
b7f12727e2
commit
4d5cd3b3af
18 changed files with 72 additions and 5 deletions
|
|
@ -13,6 +13,7 @@ function country2record(ifId, country)
|
|||
record["column_id"] = getFlag(country["country"]).."  " .. country_link
|
||||
|
||||
record["column_hosts"] = country["num_hosts"]..""
|
||||
record["column_score"] = country["score"]
|
||||
record["column_since"] = secondsToTime(now - country["seen.first"] + 1)
|
||||
|
||||
local sent2rcvd = round((country["egress"] * 100) / (country["egress"] + country["ingress"]), 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue