mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add count_type to items returned by preset/consts.lua
This commit is contained in:
parent
92e6a21c02
commit
9d063c5504
1 changed files with 3 additions and 0 deletions
|
|
@ -1040,18 +1040,21 @@ historical_flow_utils.builtin_presets = {
|
|||
{
|
||||
id = "",
|
||||
count = nil,
|
||||
count_type = nil,
|
||||
i18n_name = "queries.raw_flows_records",
|
||||
name = i18n("queries.raw_flows_records"),
|
||||
},
|
||||
{
|
||||
id = "raw_flows_bytes",
|
||||
count = "TOTAL_BYTES",
|
||||
count_type = tag_utils.defined_tags[flow_columns["TOTAL_BYTES"].tag].value_type,
|
||||
i18n_name = "queries.raw_flows_bytes",
|
||||
name = i18n("queries.raw_flows_bytes"),
|
||||
},
|
||||
{
|
||||
id = "raw_flows_score",
|
||||
count = "SCORE",
|
||||
count_type = tag_utils.defined_tags[flow_columns["SCORE"].tag].value_type,
|
||||
i18n_name = "queries.raw_flows_score",
|
||||
name = i18n("queries.raw_flows_score"),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue