mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Uses any() aggr. functions to avoid duplicated query data
This commit is contained in:
parent
f31df4db7e
commit
6df9a37f61
2 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@
|
|||
"dataPointSelection" : "db_analyze"
|
||||
},
|
||||
"chart_gui_filter" : "srv_asn", // Filter displayed in the GUI
|
||||
"chart_sql_query" : "SELECT DST_ASN,IPv4NumToString(IPV4_DST_ADDR) as IPV4_DST_ADDR_FORMATTED,SUM(TOTAL_BYTES) AS bytes FROM flows WHERE ($WHERE) GROUP BY DST_ASN,IPV4_DST_ADDR_FORMATTED ORDER BY bytes DESC LIMIT 10",
|
||||
"chart_sql_query" : "SELECT DST_ASN,any(IPv4NumToString(IPV4_DST_ADDR)) as IPV4_DST_ADDR_FORMATTED,SUM(TOTAL_BYTES) AS bytes FROM flows WHERE ($WHERE) GROUP BY DST_ASN ORDER BY bytes DESC LIMIT 10",
|
||||
"chart_type" : "donut_apex_chart",
|
||||
"chart_record_value" : "bytes",
|
||||
"chart_record_label" : "DST_ASN",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue