ntopng/scripts/templates/dashboard/enterprise_as_mode.json
2025-11-14 15:50:33 +01:00

159 lines
No EOL
3.8 KiB
JSON

{
"name" : "Default ASN 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" : "top-timeseries",
"id" : "top_active_asn",
"i18n_name" : "graphs.top_customer_asn",
"time_window" : "day",
"time_offset" : "",
"width" : 12,
"height" : 4,
"params" : {
"url" : "/lua/rest/v2/get/asn/get_top_asn.lua",
"url_params" : {
"show_as":"all"
},
"post_params" : {
"limit" : 180,
"version" : 4,
"ts_requests": {
"$CURRENT_IFID$" : {
"ts_query": "ifid:$IFID$",
"ts_schema": "top:asn:traffic"
}
}
},
"source_type" : "interface"
}
},
{
"component" : "top-timeseries",
"id" : "top_ix_exporters_interfaces",
"i18n_name" : "dashboard.asn_dashboard.top_ix_exporter_interfaces",
"time_window" : "day",
"time_offset" : "",
"width" : 12,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/flowdevices/get_top_exporters_interfaces.lua",
"url_params" : {
"interface_role":"ix"
},
"post_params" : {
"limit" : 180,
"version" : 4,
"ts_requests": {
"$CURRENT_IFID$" : {
"ts_query": "ifid:$IFID$",
"ts_schema": "top:flowdev_port:traffic",
"tskey": "$IFID$"
}
}
},
"source_type" : "flow_device"
}
},
{
"component" : "top-timeseries",
"id" : "top_peering_exporters_interfaces",
"i18n_name" : "dashboard.asn_dashboard.top_peering_exporter_interfaces",
"time_window" : "day",
"time_offset" : "",
"width" : 12,
"height" : 4,
"params" : {
"url" : "/lua/pro/rest/v2/get/flowdevices/get_top_exporters_interfaces.lua",
"url_params" : {
"interface_role":"peering"
},
"post_params" : {
"limit" : 180,
"version" : 4,
"ts_requests": {
"$CURRENT_IFID$" : {
"ts_query": "ifid:$IFID$",
"ts_schema": "top:flowdev_port:traffic",
"tskey": "$IFID$"
}
}
},
"source_type" : "flow_device"
}
}
]
}