Commit graph

163 commits

Author SHA1 Message Date
Simone Mainardi
99edf545e5 Implements ability to aggregate widgets data 2021-01-20 16:24:02 +01:00
Simone Mainardi
0e9f848788 Cleanup widgets code 2021-01-20 16:12:33 +01:00
Simone Mainardi
c4172a8e51 Reworks widgets data structure and response 2021-01-20 16:01:57 +01:00
Simone Mainardi
727a5d56fc Implements ability to consolidate widgets (slices and values) 2021-01-18 18:46:04 +01:00
Simone Mainardi
38037c29f5 Returns sorted bins in packet_distro interface datasource 2021-01-18 15:22:22 +01:00
Simone Mainardi
d65f7dc126 Adds url with formatted params in widgets
Addresses #4915
2021-01-15 16:28:49 +01:00
Simone Mainardi
46e3c10c36 Typos 2021-01-11 14:38:02 +01:00
Simone Mainardi
ea8f25da9a Minor cleanup 2021-01-07 14:46:14 +01:00
Simone Mainardi
013122482d Handles REST responses when require ing datasource classes 2021-01-07 14:41:47 +01:00
Simone Mainardi
d902000d67 Implements widgets with multiple datasources (fetch + rest) 2021-01-05 20:55:33 +01:00
Simone Mainardi
414bedf645 Adds params parsing to datasource classes 2021-01-05 18:32:45 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Simone Mainardi
9e7340c16a Implements alerts export to file
Implements #4769
2020-12-31 14:01:18 +01:00
Luca Deri
93dcb0ec74 Return not found when failing not because of an error but because the TS does not exist 2020-12-26 10:48:23 +01:00
gabryon99
35ef4da8d4 fixed pie charts and added spinner for the geomap (#4641) 2020-12-24 16:18:15 +01:00
Simone Mainardi
f839b6ba76 Removes flow_consts requires no longer necessary 2020-12-22 18:06:50 +01:00
Simone Mainardi
1a71ba4f5f Removes remote assistance
Fixes #4785
2020-12-17 19:41:37 +01:00
gabryon99
37c2811a46 improvement ons pie charts under application tab (interface) 2020-12-16 21:05:58 +01:00
Simone Mainardi
d13997e120 Migrates the UI to use rest/v1/get/timeseries/ts.lua 2020-12-09 18:25:15 +01:00
Simone Mainardi
b3dc39c641 Refactors alert_severities into an independend Lua module 2020-11-30 15:28:17 +01:00
gabryon99
9d8fded73c improved page layouts and added stats_utils for pie charts (#4653) 2020-11-26 16:56:46 +01:00
Alfredo Cardigliano
8e62a71eee Rename system_utils.lua -> cpu_utils.lua to avoid confusion 2020-11-17 12:41:06 +01:00
gabryon99
0673338183 migrated federation rest apis (#4056) 2020-11-17 09:52:06 +01:00
Luca Deri
f38b71f6a7 Implemented origin handling in federation rest 2020-11-12 22:14:32 +01:00
gabryon99
f0aefa7737 add federation REST API, only stubs (#4056) 2020-11-11 16:58:08 +01:00
Luca Deri
79280dac60 Fixes #4332 2020-11-02 18:52:58 +01:00
Matteo Biscosi
406bee4df2
Fixes #4373 get_category_protocols_list() (#4667)
* Fixes #4373 get_category_protocols_list()

* Fixes #4373 get_category_protocols_list

* Fixes #4373 get_category_protocols_list()
2020-11-02 18:18:39 +01:00
Matteo Biscosi
17bb5555d1
Added "key" parameter to GET function #4409 2020-11-02 17:40:41 +01:00
gabryon99
1fa3a3d734 collpase dscp stats into other (#4641) 2020-10-30 11:52:02 +01:00
gabryon99
888cbd77c2 collapsed DSCP stats into other (#4641) 2020-10-29 14:23:24 +01:00
Simone Mainardi
504148e0ab Standardizes probe-size drops
Fixes #4619
2020-10-23 14:46:41 +02:00
Simone Mainardi
a2705a8bda Implements header and drilldown of flow status severities 2020-10-19 19:26:30 +02:00
Luca Deri
31a33b1b11 Removed MUD implementation obsoleted by the service map
Fixes #4326
Fixes 3499
2020-10-11 16:42:24 +02:00
Alfredo Cardigliano
a64095f244 Add syslog stats to the interface page 2020-10-09 15:45:59 +02:00
gabryon99
2f3fa22613 extended recipient page with users (#4375) 2020-10-07 23:15:21 +02:00
Simone Mainardi
55e6754d64 Fixes exception due to flow score passed as table
Addresses #4485
2020-09-25 10:03:23 +02:00
Alfredo Cardigliano
dfe591dae7 Use import_export module in the REST API rest/v1/{get,set}/scripts/config.lua 2020-09-22 22:20:22 +02:00
Alfredo Cardigliano
eaa98e6002 Show counters for unhandled flows 2020-09-16 18:52:19 +02:00
Simone Mainardi
13cfd29376 Implements REST endpoint to get all pools for a given recipient 2020-09-10 14:00:55 +02:00
Simone Mainardi
c1078d2f21 Implements additional pools and edit/get REST API
Implements #4380
Implements #4381
2020-09-10 11:11:08 +02:00
Simone Mainardi
20bf30946e Minor cleanup 2020-08-31 16:16:27 +02:00
Simone Mainardi
6e0ae904df Implements REST API endpoint to get pools for any available type
Implements #4263
2020-08-31 16:13:42 +02:00
Alfredo Cardigliano
3b32c3acd4 Update REST examples 2020-08-28 16:41:40 +02:00
Alfredo Cardigliano
055e8cdecf Move rest/v1/get/ntopng/session.lua to scripts/lua/rest/v1/create/ntopng/session.lua 2020-08-26 09:20:29 +02:00
Alfredo Cardigliano
d4979f8c87 Fix rest/v1/get/interface/l7/stats.lua example 2020-08-25 15:39:01 +02:00
Alfredo Cardigliano
0eaf407514 Example fix 2020-08-25 15:27:35 +02:00
Alfredo Cardigliano
ba2e44ddc6 REST endpoints now return specific HTTP codes on failure (fix #4278) 2020-08-20 11:45:17 +02:00
Alfredo Cardigliano
646c5a8d68 Add support for returning HTTP status codes to rest_utils 2020-08-20 10:28:18 +02:00
Simone Mainardi
473b90e9ae Fixes certain API calls using old rest_utils consts
Fixes #4312
2020-08-19 17:16:28 +02:00
Alfredo Cardigliano
8a0525702e Update internal rest api 2020-08-18 11:48:15 +02:00