{ "name" : "Template Widgets Definitions", "widgets" : [ { "id" : "top_l7_categories", "component" : "pie", "i18n_name" : "top_l7_cat", "i18n_descr" : "top_l7_cat", "width" : 4, "height" : 4, "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/charts/top_l7_categories.lua", "url_params" : { "query_preset" : "protos", "ts_schema" : "host:traffic", "chart_id" : "top_l7_categories", "ts_query" : "ifid:$IFID$", "detail_view" : "flows", "version" : 4, "length" : 10 } } }, { "id" : "top_l7_proto", "component" : "pie", "i18n_name" : "top_l7_proto", "i18n_descr" : "top_l7_proto", "width" : 4, "height" : 4, "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/charts/top_l7_proto.lua", "url_params" : { "chart_id" : "top_l7_proto", "detail_view" : "flows", "ts_query" : "ifid:$IFID$", "ts_schema" : "host:traffic", "query_preset" : "protos", "version" : 4, "length" : 10 } } }, { "id" : "top_l4_proto", "component" : "pie", "i18n_name" : "top_l4_proto", "i18n_descr" : "top_l4_proto", "width" : 4, "height" : 4, "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/charts/top_l4_proto.lua", "url_params" : { "chart_id" : "top_l4_proto", "detail_view" : "flows", "ts_query" : "ifid:$IFID$", "ts_schema" : "host:traffic", "query_preset" : "protos", "version" : 4, "length" : 10 } } }, { "id" : "top_local_talkers", "component" : "table", "i18n_name" : "report.top_local_hosts", "i18n_descr" : "report.top_local_hosts", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_local_talkers", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "ip", "data_type" : "host", "i18n_name" : "host_details.host" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_remote_hosts", "component" : "table", "i18n_name" : "report.top_remote_hosts", "i18n_descr" : "report.top_remote_hosts", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_remote_destinations", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "ip", "data_type" : "host", "i18n_name" : "host_details.host" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_clients", "component" : "table", "i18n_name" : "db_search.top_clients", "i18n_descr" : "db_search.top_clients", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "clients", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "cli_ip", "data_type" : "host", "i18n_name" : "host_details.host" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_servers", "component" : "table", "i18n_name" : "db_search.top_servers", "i18n_descr" : "db_search.top_servers", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "servers", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "srv_ip", "data_type" : "host", "i18n_name" : "host_details.host" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_receiver_networks", "component" : "table", "i18n_name" : "report.top_receiver_networks", "i18n_descr" : "report.top_receiver_networks", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_receiver_networks", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "network", "data_type" : "network", "i18n_name" : "network" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_sender_networks", "component" : "table", "i18n_name" : "report.top_sender_networks", "i18n_descr" : "report.top_sender_networks", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_sender_networks", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "network", "data_type" : "network", "i18n_name" : "network" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_receiver_as", "component" : "table", "i18n_name" : "report.top_receiver_as", "i18n_descr" : "report.top_receiver_as", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_receiver_as", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "asn", "data_type" : "asn", "i18n_name" : "as" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_sender_as", "component" : "table", "i18n_name" : "report.top_sender_as", "i18n_descr" : "report.top_sender_as", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_sender_as", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : { { "id" : "asn", "data_type" : "asn", "i18n_name" : "as" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } } } }, { "id" : "top_receiver_countries", "component" : "table", "i18n_name" : "report.top_receiver_countries", "i18n_descr" : "report.top_receiver_countries", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_receiver_countries", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : [ { "id" : "country", "data_type" : "country", "i18n_name" : "country" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } ] } }, { "id" : "top_sender_countries", "component" : "table", "i18n_name" : "report.top_sender_countries", "i18n_descr" : "report.top_sender_countries", "width" : 6, "height" : 4, "time_window" : "day", "time_offset" : "", "requires" : { "modules" : [ "historical_flows" ] }, "params" : { "url" : "/lua/pro/rest/v2/get/db/historical_db_search.lua", "url_params" : { "query_preset" : "top_sender_countries", "aggregated" : true, "start" : 0, "length" : 20 }, "table_type" : "db_search", "columns" : { { "id" : "country", "data_type" : "country", "i18n_name" : "country" }, { "id" : "total_bytes", "data_type" : "bytes", "i18n_name" : "volume" } } } }, { "id" : "traffic_chart", "component" : "timeseries", "i18n_name" : "interface_traffic", "i18n_descr" : "interface_traffic", "width" : 12, "height" : 6, "params" : { "url" : "/lua/pro/rest/v2/get/timeseries/ts_multi.lua", "url_params" : { }, "post_params" : { "limit" : 180, "version" : 4, "ts_requests": { "ifid" : { "ts_query": "ifid:$IFID$", "ts_schema": "iface:traffic_rxtx", "tskey": "$IFID$" } } }, "source_type" : "interface" } }, { "id" : "top_alerted_hosts", "component" : "pie", "i18n_name" : "top_alerted_hosts", "i18n_descr" : "top_alerted_hosts", "width" : 12, "height" : 4, "params" : { "url" : "/lua/pro/rest/v2/get/host/alert/top.lua", "url_params" : { "action" : "top_hosts", "ajax_format" : "pie" } } } ] }