mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
330 lines
9 KiB
JSON
330 lines
9 KiB
JSON
{
|
|
"name" : "Default Report",
|
|
"components" : [
|
|
{
|
|
"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_local_talkers",
|
|
"i18n_name" : "report.top_local_hosts",
|
|
"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" : "top_local_talkers",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "ip", "data_type" : "host", "i18n_name" : "host_details.host" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_remote_hosts",
|
|
"i18n_name" : "report.top_remote_hosts",
|
|
"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" : "top_remote_destinations",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "ip", "data_type" : "host", "i18n_name" : "host_details.host" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_receiver_networks",
|
|
"i18n_name" : "report.top_receiver_networks",
|
|
"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" : "top_receiver_networks",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "network", "data_type" : "network", "i18n_name" : "network" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_sender_networks",
|
|
"i18n_name" : "report.top_sender_networks",
|
|
"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" : "top_sender_networks",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "network", "data_type" : "network", "i18n_name" : "network" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_receiver_as",
|
|
"i18n_name" : "report.top_receiver_as",
|
|
"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" : "top_receiver_as",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "asn", "data_type" : "asn", "i18n_name" : "as" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_sender_as",
|
|
"i18n_name" : "report.top_sender_as",
|
|
"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" : "top_sender_as",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : {
|
|
{ "id" : "asn", "data_type" : "asn", "i18n_name" : "as" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_receiver_countries",
|
|
"i18n_name" : "report.top_receiver_countries",
|
|
"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" : "top_receiver_countries",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : [
|
|
{ "id" : "country", "data_type" : "country", "i18n_name" : "country" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_sender_countries",
|
|
"i18n_name" : "report.top_sender_countries",
|
|
"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" : "top_sender_countries",
|
|
"aggregated" : true,
|
|
"start" : 0,
|
|
"length" : 20
|
|
},
|
|
"table_type" : "db_search",
|
|
"columns" : {
|
|
{ "id" : "country", "data_type" : "country", "i18n_name" : "country" },
|
|
{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"component" : "timeseries",
|
|
"id" : "traffic_chart",
|
|
"i18n_name" : "interface_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": {
|
|
"current_interface" : {
|
|
"ts_query": "ifid:$IFID$",
|
|
"ts_schema": "iface:traffic_rxtx",
|
|
"tskey": "$IFID$"
|
|
}
|
|
}
|
|
},
|
|
"source_type" : "interface"
|
|
}
|
|
},
|
|
{
|
|
"component" : "pie",
|
|
"id" : "top_alerted_hosts",
|
|
"i18n_name" : "top_alerted_hosts",
|
|
"width" : 12,
|
|
"height" : 4,
|
|
"params" : {
|
|
"url" : "/lua/pro/rest/v2/get/host/alert/top.lua",
|
|
"url_params" : {
|
|
"action" : "top_hosts",
|
|
"ajax_format" : "pie"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|