{
	"name" : "Default Report",
	"readonly" : true,
	"filters" : [
		{
			"name" : "probe_ip"
		},
		{
			"name" : "output_snmp",
			"show_only_if_selected" : "probe_ip"
		},
		{
			"name" : "input_snmp",
			"show_only_if_selected" : "probe_ip"
		},
		{
			"name" : "vlan_id"
		},
		{
			"name" : "network"
		},
		{
			"name" : "l4proto"
		},
		{
			"name" : "l7cat"
		},
		{
			"name" : "l7proto"
		},
		{
			"name" : "host_pool"
		},
		{
			"name" : "wlan_ssid"
		}
	],
	"components" : [
	{
		"component" : "badge",
		"id" : "total_bytes",
		"color" : "info",
		"inactive_color" : "secondary",
		"width" : 4,
		"height" : 2,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/stats.lua",
			"url_params" : {
				"type" : "summary"
			},
			"icon" : "fas fa-scale-balanced",
			"i18n_name" : "total_bytes",
			"counter_path" : "total_bytes",
			"counter_formatter" : "bytes"
		}
	},
	{
		"component" : "badge",
		"id" : "ingress_bytes",
		"color" : "info",
		"inactive_color" : "secondary",
		"width" : 4,
		"height" : 2,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/stats.lua",
			"url_params" : {
				"type" : "summary"
			},
			"icon" : "fas fa-scale-unbalanced",
			"i18n_name" : "traffic_labels.ingress_bytes",
			"counter_path" : "ingress_bytes",
			"counter_formatter" : "bytes"
		}
	},
	{
		"component" : "badge",
		"id" : "egress_bytes",
		"color" : "info",
		"inactive_color" : "secondary",
		"width" : 4,
		"height" : 2,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/stats.lua",
			"url_params" : {
				"type" : "summary"
			},
			"icon" : "fas fa-scale-unbalanced-flip",
			"i18n_name" : "traffic_labels.egress_bytes",
			"counter_path" : "egress_bytes",
			"counter_formatter" : "bytes"
		}
	},
	{
		"component" : "pie",
		"id" : "top_l7_categories",
		"i18n_name" : "top_l7_cat",
		"width" : 3,
		"height" : 4,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/charts/top_l7_categories.lua",
			"url_params" : {
				"length" : 10
			}
		}
	},
	{
		"component" : "pie",
		"id" : "top_l7_proto",
		"i18n_name" : "top_l7_proto",
		"width" : 3,
		"height" : 4,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/charts/top_l7_proto.lua",
			"url_params" : {
				"length" : 10
			}
		}
	},
	{
		"component" : "pie",
		"id" : "top_l4_proto",
		"i18n_name" : "top_l4_proto",
		"width" : 3,
		"height" : 4,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/charts/top_l4_proto.lua",
			"url_params" : {
				"length" : 10
			}
		}
	},
	{
		"component" : "pie",
		"id" : "qoe_score",
		"i18n_name" : "qoe",
		"width" : 3,
		"height" : 4,
		"params" : {
			"url" : "/lua/pro/rest/v2/get/db/charts/qoe_score.lua",
			"url_params" : {
				"length" : 10
			}
		}
	},
	{
		"component" : "table",
		"id" : "top_l7_inout",
		"i18n_name" : "report.top_l7_inout",
		"width" : 12,
		"height" : 4,
		"params" : {
			 "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua",
			 "url_params" : {
					"query_preset" : "l7_traffic_inout",
					"aggregated" : true,
					"start" : 0,
					"length" : 20
			 },
			 "table_type" : "db_search",
			 "columns" : [
					{ "id" : "l7proto", "data_type" : "l7_proto", "i18n_name" : "traffic_labels.app_proto" },
					{ "id" : "ingress_bytes", "data_type" : "bytes", "i18n_name" : "traffic_labels.ingress_bytes" },
					{ "id" : "egress_bytes", "data_type" : "bytes", "i18n_name" : "traffic_labels.egress_bytes" },
					{ "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "traffic_labels.total_bytes" }
			 ]
		}
	},
	{
		"component" : "table",
		"id" : "top_local_talkers",
		"i18n_name" : "report.top_local_hosts",
		"width" : 6,
		"height" : 4,
		"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,
		"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,
		"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,
		"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,
		"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,
		"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_countries",
		"i18n_name" : "report.top_receiver_countries",
		"width" : 6,
		"height" : 4,
		"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,
		"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": {
					"ifid" : {
						"ts_query": "ifid:$IFID$",
						"ts_schema": "iface:traffic_rxtx",
						"tskey": "$IFID$"
					}
				}
			},
			"source_type" : "interface"
		}
	}
	]
}

