ntopng/httpdocs/tables_config/exporters.json

135 lines
2.7 KiB
JSON

{
"id": "exporters",
"data_url": "lua/pro/rest/v2/get/exporters/data.lua",
"use_current_page": false,
"enable_search": true,
"paging": false,
"display_empty_rows": true,
"default_sort": {
"column_id": "exported_flows",
"sort": 1
},
"columns": [
{
"id": "actions",
"title_i18n": "actions",
"sortable": false,
"sticky": true,
"class": [
"text-nowrap",
"text-center"
],
"min-width" : "80px",
"max-width" : "80px",
"render_v_node_type": "button_list",
"button_def_array": [
{
"id": "timeseries",
"icon": "fas fa-lg fa-chart-area",
"title_i18n": "prefs.timeseries",
"class": [],
"event_id": "click_button_timeseries"
},
{
"id": "live_flows",
"icon": "fas fa-stream",
"title_i18n": "active_flows",
"class": [],
"event_id": "click_button_live_flows"
},
{
"id": "live_hosts",
"icon": "fas fa-laptop",
"title_i18n": "active_hosts",
"class": [],
"event_id": "click_button_live_hosts"
},
{
"id": "configuration",
"icon": "fas fa-cog",
"title_i18n": "configuration",
"class": [],
"event_id": "click_button_configuration"
}
]
},
{
"id": "ip",
"title_i18n": "flow_devices.exporter",
"data_field": "ip",
"sortable": true,
"class": [
"text-nowrap"
]
},
{
"id": "ntopng_interface",
"title_i18n": "flow_devices.ntopng_interface",
"data_field": "ntopng_interface",
"sortable": true,
"min-width": "40px",
"class": [
"text-nowrap"
]
},
{
"id": "probe_ip",
"title_i18n": "flow_devices.probe",
"data_field": "probe_ip",
"sortable": true,
"min-width": "40px",
"class": [
"text-nowrap"
]
},
{
"id": "export_type",
"title_i18n": "flow_devices.exporter_type",
"data_field": "export_type",
"sortable": true,
"class": [
"text-nowrap"
]
},
{
"id": "exporter_interfaces",
"title_i18n": "if_stats_overview.flow_exporters_interfaces_num",
"data_field": "exporter_interfaces",
"sortable": true,
"min-width": "30px",
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "time_last_used",
"title_i18n": "flow_devices.exporter_time_last_used",
"data_field": "time_last_used",
"sortable": true,
"class": [
"text-nowrap"
]
},
{
"id": "exported_flows",
"title_i18n": "nprobe_exported_flows",
"data_field": "exported_flows",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "dropped_flows",
"title_i18n": "nprobe_dropped_flows",
"data_field": "dropped_flows",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
}
]
}