mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added Last Seen column to flow stats (#5392)
This commit is contained in:
parent
4926901bea
commit
217b9eda33
5 changed files with 26 additions and 10 deletions
|
|
@ -202,6 +202,8 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
end
|
||||
end
|
||||
|
||||
record["column_last_seen"] = os.date("%x %X", tonumber(value["last_seen"]))
|
||||
|
||||
if(value["client_tcp_info"] ~= nil) then
|
||||
record["column_client_rtt"] = format_utils.formatMillis(value["client_tcp_info"]["rtt"])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue