ntopng/scripts/templates/dashboard/enterprise.json

312 lines
7.1 KiB
JSON

{
"name" : "Default Enterprise Dashboard",
"readonly" : true,
"components" : [
{
"component" : "badge",
"id" : "critical_alert_count",
"i18n_name" : "",
"color" : "danger",
"inactive_color" : "secondary",
"width" : 4,
"height" : 2,
"params" : {
"url" : "/lua/rest/v2/get/interface/data.lua",
"url_params" : {
"type" : "summary"
},
"icon" : "fas fa-exclamation-triangle",
"i18n_name" : "show_alerts.engaged_alerts",
"link" : {
"url" : "/lua/alert_stats.lua",
"url_params" : {
"status" : "engaged"
}
},
"counter_path" : "engaged_alerts",
"counter_formatter" : "number"
}
},
{
"component" : "badge",
"id" : "active_host_count",
"i18n_name" : "",
"color" : "success",
"inactive_color" : "secondary",
"width" : 4,
"height" : 2,
"params" : {
"url" : "/lua/rest/v2/get/interface/data.lua",
"url_params" : {
"type" : "summary"
},
"icon" : "fas fa-laptop",
"i18n_name" : "graphs.active_local_hosts",
"link" : {
"url" : "/lua/hosts_stats.lua",
"url_params" : {
"mode" : "local"
}
},
"counter_path" : "num_local_hosts",
"counter_formatter" : "number"
}
},
{
"component" : "badge",
"id" : "active_flow_count",
"i18n_name" : "",
"color" : "info",
"inactive_color" : "secondary",
"width" : 4,
"height" : 2,
"params" : {
"url" : "/lua/rest/v2/get/interface/data.lua",
"url_params" : {
"type" : "summary"
},
"icon" : "fas fa-stream",
"i18n_name" : "live_flows",
"link" : {
"url" : "/lua/flows_stats.lua",
"url_params" : {}
},
"counter_path" : "num_flows",
"counter_formatter" : "number"
}
},
{
"component" : "timeseries",
"id" : "traffic_chart",
"i18n_name" : "interfaces_traffic",
"width" : 8,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/timeseries/ts_multi.lua",
"url_params" : { },
"post_params" : {
"limit" : 180,
"version" : 4,
"ts_requests": {
"$ANY_IFID$" : {
"ts_query": "ifid:$IFID$",
"ts_schema": "iface:traffic_rxtx",
"tskey": "$IFID$"
}
}
},
"source_type" : "interface"
}
},
{
"component" : "pie",
"id" : "qoe_stats",
"i18n_name" : "qoe",
"width" : 4,
"height" : 4,
"params" : {
"url" : "/lua/rest/v2/get/interface/qoe/stats.lua",
"url_params" : {
"breed" : "true",
"ndpistats_mode" : "sinceStartup"
}
}
},
{
"component" : "timeseries",
"id" : "top_applications_chart",
"i18n_name" : "top_l7_proto",
"width" : 8,
"height" : 4,
"requires" : {
"modules" : [ "l7_timeseries" ]
},
"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": "top:iface:ndpi",
"tskey": "$IFID$"
}
}
},
"source_type" : "interface"
}
},
{
"component" : "pie",
"id" : "top_l7_proto",
"i18n_name" : "top_l7_proto",
"width" : 4,
"height" : 4,
"requires" : {
"modules" : [ "l7_timeseries" ]
},
"params" : {
"url" : "/lua/rest/v2/get/interface/l7/stats.lua",
"url_params" : {
"breed" : "true",
"ndpistats_mode" : "count"
}
}
},
{
"component" : "table",
"id" : "top_local_talkers",
"i18n_name" : "report.top_local_hosts",
"width" : 4,
"height" : 4,
"time_window" : "",
"time_offset" : "",
"params" : {
"url" : "/lua/pro/rest/v2/get/interface/top/local/talkers.lua",
"url_params" : {},
"table_type" : "throughput",
"columns" : [
{ "id" : "name", "i18n_name" : "host_details.host" },
{ "id" : "throughput", "i18n_name" : "dashboard.actual_traffic", "style" : "text-align: right" }
]
}
},
{
"component" : "table",
"id" : "top_remote_destinations",
"i18n_name" : "report.top_remote_hosts",
"width" : 4,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/interface/top/remote/talkers.lua",
"url_params" : {},
"table_type" : "throughput",
"columns" : [
{ "id" : "name", "i18n_name" : "host_details.host" },
{ "id" : "throughput", "i18n_name" : "dashboard.actual_traffic", "style" : "text-align: right" }
]
}
},
{
"component" : "pie",
"id" : "traffic_classification",
"i18n_name" : "classification",
"width" : 4,
"height" : 4,
"requires" : {
"modules" : [ "l7_timeseries" ]
},
"params" : {
"url" : "/lua/rest/v2/get/interface/l7/stats.lua",
"url_params" : {
"breed" : "true",
"ndpistats_mode" : "sinceStartup"
}
}
},
{
"component" : "pie",
"id" : "top_l7_proto",
"i18n_name" : "top_l7_proto",
"width" : 4,
"height" : 4,
"requires" : {
"modules" : [ "!l7_timeseries" ]
},
"params" : {
"url" : "/lua/rest/v2/get/interface/l7/stats.lua",
"url_params" : {
"breed" : "true",
"ndpistats_mode" : "count"
}
}
},
{
"component" : "table",
"id" : "top_local_talkers_historical",
"i18n_name" : "report.top_local_hosts",
"width" : 4,
"height" : 4,
"time_window" : "day",
"time_offset" : "week",
"requires" : {
"modules" : [ "historical_flows" ]
},
"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_historical",
"i18n_name" : "report.top_remote_hosts",
"width" : 4,
"height" : 4,
"time_window" : "day",
"time_offset" : "week",
"requires" : {
"modules" : [ "historical_flows" ]
},
"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" : "sankey",
"id" : "server_port_analysis",
"i18n_name" : "dashboard.server_ports_analysis",
"width" : 4,
"height" : 4,
"requires" : {
"modules" : [ "historical_flows" ]
},
"params" : {
"url" : "/lua/pro/rest/v2/get/vlan/live_ports.lua",
"url_params" : {
"limit" : 20
}
}
},
{
"component" : "sankey",
"id" : "server_port_analysis",
"i18n_name" : "dashboard.server_ports_analysis",
"width" : 12,
"height" : 4,
"requires" : {
"modules" : [ "!historical_flows" ]
},
"params" : {
"url" : "/lua/pro/rest/v2/get/vlan/live_ports.lua",
"url_params" : {
"limit" : 20
}
}
}
]
}