ntopng/scripts/templates/report/networks.json
Alfredo Cardigliano 2d8f4547dc Initial AS report
2025-04-18 11:36:31 +02:00

158 lines
3.2 KiB
JSON

{
"name" : "Networks Report",
"readonly" : true,
"filters" : [
{
"name" : "probe_ip",
"nested" : [
{
"name" : "output_snmp"
},
{
"name" : "input_snmp"
}
]
},
{
"name" : "network"
},
{
"name" : "l4proto"
},
{
"name" : "l7cat"
},
{
"name" : "l7proto"
}
],
"components" : [
{
"component" : "timeseries",
"id" : "traffic_chart",
"i18n_name" : "network_traffic",
"width" : 12,
"height" : 6,
"params" : {
"url" : "/lua/pro/rest/v2/get/timeseries/ts_multi.lua",
"url_params" : { },
"post_params" : {
"limit" : 180,
"version" : 4,
"ts_requests": {
"$ANY_NETWORK$" : {
"ts_query": "ifid:$IFID$,subnet:$NETWORK$",
"ts_schema": "subnet:traffic",
"tskey": "$NETWORK$"
}
}
},
"source_type" : "network"
}
},
{
"component" : "pie",
"id" : "top_l7_categories",
"i18n_name" : "top_l7_cat",
"width" : 4,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/db/charts/top_l7_categories.lua",
"url_params" : {
"query_preset" : "protos",
"ts_schema" : "host:traffic",
"chart_id" : "top_l7_categories",
"ts_query" : "ifid:$IFID$",
"detail_view" : "flows",
"version" : 4,
"length" : 10
}
}
},
{
"component" : "pie",
"id" : "top_l7_proto",
"i18n_name" : "top_l7_proto",
"width" : 4,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/db/charts/top_l7_proto.lua",
"url_params" : {
"chart_id" : "top_l7_proto",
"detail_view" : "flows",
"ts_query" : "ifid:$IFID$",
"ts_schema" : "host:traffic",
"query_preset" : "protos",
"version" : 4,
"length" : 10
}
}
},
{
"component" : "pie",
"id" : "top_l4_proto",
"i18n_name" : "top_l4_proto",
"width" : 4,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/db/charts/top_l4_proto.lua",
"url_params" : {
"chart_id" : "top_l4_proto",
"detail_view" : "flows",
"ts_query" : "ifid:$IFID$",
"ts_schema" : "host:traffic",
"query_preset" : "protos",
"version" : 4,
"length" : 10
}
}
},
{
"component" : "table",
"id" : "top_clients",
"i18n_name" : "db_search.top_clients",
"width" : 6,
"height" : 4,
"time_window" : "day",
"time_offset" : "",
"params" : {
"url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua",
"url_params" : {
"query_preset" : "clients",
"aggregated" : true,
"start" : 0,
"length" : 20
},
"table_type" : "db_search",
"columns" : [
{ "id" : "cli_ip", "data_type" : "host", "i18n_name" : "host_details.host" },
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
]
}
},
{
"component" : "table",
"id" : "top_servers",
"i18n_name" : "db_search.top_servers",
"width" : 6,
"height" : 4,
"time_window" : "day",
"time_offset" : "",
"params" : {
"url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua",
"url_params" : {
"query_preset" : "servers",
"aggregated" : true,
"start" : 0,
"length" : 20
},
"table_type" : "db_search",
"columns" : [
{ "id" : "srv_ip", "data_type" : "host", "i18n_name" : "host_details.host" },
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
]
}
}
]
}