{
    "id": "flow_historical",
    "data_url": "lua/pro/rest/v2/get/db/historical_db_search.lua",
    "use_current_page": false,
    "enable_search": false,
    "paging": true,
    "rsp_records_field": "records",
    "display_empty_rows": true,
    "rsp_query_info_field": "stats",
    "columns": [
	{
	    "id": "actions",
	    "title_i18n": "actions",
	    "sortable": false,
	    "sticky": false,
	    "class": ["text-center"],
	    "render_v_node_type": "button_list",
	    "button_def_array": [
		{ "id": "row_data", "icon": "fas fa-sm fa-stream", "title_i18n": "flows", "class":["link-button"], "event_id": "click_button_flows" }
	    ]
	},
	{
	    "title_i18n": "db_search.first_seen",
	    "data_field": "first_seen",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.last_seen",
	    "data_field": "last_seen",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.l4proto",
	    "data_field": "l4proto",
	    "sortable": true,
	    "render_generic": "l4proto",
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.l7proto",
	    "data_field": "l7proto",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "flow",
	    "data_field": "flow",
	    "render_type": "formatFlowTuple",
	    "sortable": false,
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "score_average",
	    "data_field": "score",
	    "render_type": "formatValueLabel",
	    "zero_is_null": true,
	    "sortable": true,
	    "class": ["text-center"]
	},
        {
        "title_i18n": "db_explorer.total_flows",
	    "data_field": "flows_number",
	    "sortable": true,
	    "class": ["text-nowrap text-end"]
        },
	{
	    "title_i18n": "db_search.vlan_id",
	    "data_field": "vlan_id",
	    "sortable": true,
	    "render_generic": "vlan_id",
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.packets",
	    "data_field": "packets",
	    "render_type": "full_number",
	    "sortable": true,
	    "class": ["no-wrap text-end"]
	},
	{
	    "title_i18n": "total_bytes",
	    "data_field": "bytes",
	    "sortable": true,
	    "class": ["no-wrap text-end"]
	},
	{
	    "title_i18n": "db_search.cli_asn",
	    "data_field": "cli_asn",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.srv_asn",
	    "data_field": "srv_asn",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	{
	    "title_i18n": "db_search.flow_risk",
	    "data_field": "flow_risk",
	    "sortable": true,
	    "class": ["no-wrap"]
	},
	
	{
	    "title_i18n": "db_search.probe_ip",
	    "data_field": "probe_ip",
	    "sortable": true,
	    "render_type": "formatProbeIP",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.cli_network",
	    "data_field": "cli_network",
	    "sortable": true,
	    "render_generic": "cli_network",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.srv_network",
	    "data_field": "srv_network",
	    "sortable": true,
	    "render_generic": "srv_network",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.input_snmp",
	    "data_field": "input_snmp",
	    "sortable": true,
	    "zero_is_null": true,
	    "render_generic": "input_snmp",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.output_snmp",
	    "data_field": "output_snmp",
	    "sortable": true,
	    "zero_is_null": true,
	    "render_generic": "output_snmp",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.cli_country",
	    "data_field": "cli_country",
	    "sortable": true,
	    "render_generic": "cli_country",
	    "class": ["text-nowrap"]
	},
	{
	    "title_i18n": "db_search.tags.srv_country",
	    "data_field": "srv_country",
	    "sortable": true,
	    "render_generic": "srv_country",
	    "class": ["text-nowrap"]
	},
    {
        "title_i18n": "db_search.tags.cli_mac",
	    "data_field": "cli_mac",
	    "sortable": true,
	    "class": ["text-nowrap"]
    },
    {
        "title_i18n": "db_search.tags.srv_mac",
	    "data_field": "srv_mac",
	    "sortable": true,
	    "class": ["text-nowrap"]
    },
    {
        "title_i18n": "db_search.tags.instance_name",
	    "data_field": "NTOPNG_INSTANCE_NAME",
	    "sortable": true,
	    "class": ["text-nowrap"]
    }
    ]
}
