mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Enable topk chart on more custom queries
This commit is contained in:
parent
46b4b682dc
commit
b943254a81
4 changed files with 18 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"hourly": false,
|
||||
"visualization_type" : "table",
|
||||
"select" : {
|
||||
"sql": "IPv4NumToString(IPV4_SRC_ADDR) IPV4_SRC_ADDR_FORMATTED, IPv6NumToString(IPV6_SRC_ADDR) IPV6_SRC_ADDR_FORMATTED, COUNT(DISTINCT(IPV4_DST_ADDR)) AS count4, COUNT(DISTINCT(IPV6_DST_ADDR)) AS count6, (count4 + count6) AS server_count, COUNT(DISTINCT(IP_DST_PORT)) AS port_count",
|
||||
"sql": "IPv4NumToString(IPV4_SRC_ADDR) IPV4_SRC_ADDR_FORMATTED, IPv6NumToString(IPV6_SRC_ADDR) IPV6_SRC_ADDR_FORMATTED, COUNT(DISTINCT(IPV4_DST_ADDR)) AS count4, COUNT(DISTINCT(IPV6_DST_ADDR)) AS count6, (count4 + count6) AS server_count, COUNT(DISTINCT(IP_DST_PORT)) AS port_count",
|
||||
"items" : [
|
||||
{
|
||||
"name" : "IPV4_SRC_ADDR"
|
||||
|
|
@ -44,4 +44,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue