ntopng/httpdocs/tables_config/as_stats.json
GabrieleDeri 43dcd76e2f
Ported AS table to new table (#8475)
* Fixes parsing error while pasing XML strings with comments

* Ported host countries table to new vue table

* Added country filter when redirected to hosts list page

* Ported network discovery table to TableWithConfig vue component

* FIxed indentation

* Added documentation for VueJS, Lua and cpp used in ntopng

* Fixed error

* Added Netbox pref entry for default site, customizable input box size. To implement cpp side for netbox default site

* Removed tprint

* Ported AS table to new table

* Started fixing live flow IP filter

* Fixed date formatter

* Removed debug code

* Removed tprint

* Removed unused import

---------

Co-authored-by: DGabri <gabriele.deri@gmail.com>
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
2024-06-26 15:22:55 +02:00

110 lines
No EOL
2.1 KiB
JSON

{
"id": "as_stats",
"data_url": "lua/rest/v2/get/asn/get_as_data.lua",
"use_current_page": false,
"enable_search": false,
"paging": false,
"display_empty_rows": false,
"columns": [
{
"id": "as_number",
"title_i18n": "as_number",
"data_field": "asn",
"sortable": false,
"sticky": true,
"class": [
"text-nowrap"
]
},
{
"id": "num_hosts",
"title_i18n": "hosts",
"data_field": "num_hosts",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "score",
"title_i18n": "score",
"data_field": "score",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "avg_host_score",
"title_i18n": "avg_host_score",
"data_field": "avg_host_score",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "name",
"title_i18n": "name",
"data_field": "asname",
"sortable": false,
"class": [
"text-left",
"text-nowrap"
]
},
{
"id": "seen_since",
"title_i18n": "seen_since",
"data_field": "seen_since",
"sortable": true,
"class": [
"text-center",
"text-nowrap"
]
},
{
"id": "alerted_flows",
"title_i18n": "flow_details.alerted_flows",
"data_field": "alerted_flows",
"sortable": true,
"class": [
"text-nowrap",
"text-center"
]
},
{
"id": "breakdown",
"title_i18n": "breakdown",
"data_field": "breakdown",
"sortable": false,
"class": [
"text-nowrap",
"text-center"
]
},
{
"id": "throughput",
"title_i18n": "throughput",
"data_field": "throughput",
"sortable": true,
"class": [
"text-nowrap",
"text-right"
]
},
{
"id": "traffic",
"title_i18n": "traffic",
"data_field": "traffic",
"sortable": true,
"class": [
"text-nowrap",
"text-right"
]
}
]
}