mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added the ability to solt flows by serial that is useful for sorting traffic according to the time flows have been created
This commit is contained in:
parent
06e2cd00c3
commit
d0e42b03f3
10 changed files with 26 additions and 12 deletions
|
|
@ -303,6 +303,7 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
end
|
||||
record["column_duration"] = secondsToTime(value["duration"])
|
||||
record["column_bytes"] = value["bytes"]
|
||||
-- record["column_serial"] = value["flow_serial"]
|
||||
|
||||
local column_thpt = ''
|
||||
if(throughput_type == "pps") then
|
||||
|
|
@ -347,8 +348,9 @@ local result = {
|
|||
totalRows = total,
|
||||
data = formatted_res,
|
||||
sort = {
|
||||
{flows_filter["sortColumn"],
|
||||
flows_filter["sortOrder"]}
|
||||
{
|
||||
flows_filter["sortColumn"],
|
||||
flows_filter["sortOrder"]}
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue