ntopng/httpdocs/tables_config/alert_flow.json
2023-05-17 09:31:49 +02:00

115 lines
3.2 KiB
JSON

{
"id": "alert_flow",
"data_url": "lua/rest/v2/get/flow/alert/list.lua",
"use_current_page": false,
"enable_search": true,
"paging": true,
"rsp_records_field": "records",
"columns": [
{
"title_i18n": "actions",
"sortable": false,
"sticky": true,
"class": ["text-nowrap", "text-center"],
"render_type": "buttons_list",
"buttons_list": [
{ "icon": "fas fa fa-search-plus", "title_i18n": "info", "event_id": "click_button_info" },
{ "icon": "fas fa-stream", "title_i18n": "db_explorer.historical_data", "event_id": "click_button_historical_flows" },
{ "icon": "fas fa fa-user-check", "title_i18n": "acknowledge", "event_id": "click_button_acknowledge" },
{ "icon": "fas fa fa-bell-slash", "title_i18n": "disable", "event_id": "click_button_disable" },
{ "icon": "fas fa fa-cog", "title_i18n": "settings", "event_id": "click_button_settings" },
{ "icon": "fas fa fa-trash", "title_i18n": "remove", "event_id": "click_button_remove" }
]
},
{
"title_i18n": "show_alerts.alert_datetime",
"data_field": "tstamp",
"sortable": true,
"render_type": "formatValueLabel",
"class": ["text-center", "text-nowrap"]
},
{
"title_i18n": "score",
"data_field": "score",
"sortable": true,
"render_type": "formatValueLabel",
"class": ["text-center"]
},
{
"title_i18n": "application",
"data_field": "l7_proto",
"sortable": true,
"class": ["text-center"]
},
{
"title_i18n": "alerts_dashboard.alert",
"data_field": "msg",
"sortable": false,
"render_type": "formatNameDescription",
"class": ["text-nowrap"]
},
{
"title_i18n": "flow",
"data_field": "flow",
"sortable": false,
"render_type": "formatFlowTuple",
"class": ["text-nowrap"]
},
{
"title_i18n": "description",
"data_field": "description",
"sortable": false,
"render_type": "formatMessage",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.community_id",
"data_field": "community_id",
"sortable": false,
"render_generic": "community_id",
"class": ["text-nowrap"]
},
{
"title_i18n": "datatable.fields.info",
"data_field": "info",
"sortable": true,
"render_type": "formatMessage",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.cli_host_pool_id",
"data_field": "cli_host_pool_id",
"sortable": false,
"render_generic": "cli_host_pool_id",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.srv_host_pool_id",
"data_field": "srv_host_pool_id",
"sortable": false,
"render_generic": "srv_host_pool_id",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.cli_network",
"data_field": "cli_network",
"sortable": false,
"render_generic": "cli_network",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.srv_network",
"data_field": "srv_network",
"sortable": false,
"render_generic": "srv_network",
"class": ["text-nowrap"]
},
{
"title_i18n": "db_search.tags.probe_ip",
"data_field": "probe_ip",
"sortable": false,
"render_type": "formatProbeIP",
"class": ["text-nowrap"]
}
]
}