emanuele-f
33949d31fd
Rework benchmark stats and charts
2019-10-31 17:48:53 +01:00
emanuele-f
e978a83151
Improve user scripts charts
...
Fixes #3020
2019-10-31 13:30:24 +01:00
emanuele-f
34c196d99e
User scripts stats improvements
2019-10-30 10:53:54 +01:00
emanuele-f
13a7b8ba67
Add total row in flow user scripts benchmarks
2019-10-29 15:38:22 +01:00
emanuele-f
930fdc9bd1
Fix flows script table
2019-10-25 18:41:37 +02:00
emanuele-f
0ea6856b44
Clean flow user scripts page
2019-10-25 11:30:06 +02:00
emanuele-f
58a12f1241
Add user scripts benchmark charts
...
Implements #2999
2019-10-24 20:24:13 +02:00
Simone Mainardi
fca66af5e5
Adds speed and num calls to script duration information
2019-10-22 19:05:57 +02:00
emanuele-f
f136a19123
Fix flows script expert view
2019-10-22 17:52:53 +02:00
emanuele-f
b3a8c6d49a
Migrate C flow status alerts to Lua user scripts
...
- Alerts and flow status cleanup
- Community flow user scripts migration
- Implement scripts filters by l7 proto and packet interface only
- Migrate flow2statusinfojson
- Lower flow periodic update to 30 seconds if there is flow activity
- Display flow scripts without a gui section
2019-10-22 10:42:22 +02:00
emanuele-f
7bd6feb622
Rename check_module -> user_script
2019-10-10 18:14:53 +02:00
Simone Mainardi
3cafa97aba
Stores benchmark results in plain redis keys with TTL for auto-cleanup
2019-10-09 19:33:33 +02:00
emanuele-f
ab0094c1c3
Unify syslog with user scripts API
2019-10-09 18:53:19 +02:00
Simone Mainardi
b9fa26174c
Implements generalized benchmarks for any user_script
2019-10-09 18:48:01 +02:00
emanuele-f
ffd3b4c1ee
Users scripts api changes and initial documentation
2019-10-09 15:12:28 +02:00
emanuele-f
ede9a7940a
Generalize periodic and flows callbacks
...
Now periodic callbacks are properly called even when alerts are disabled
The granularity filter and check_function has been replaced with a more generic hooks list
2019-10-07 19:05:43 +02:00
Simone Mainardi
aceb123ebb
Adds About/directories page listing custom scripts directories
2019-10-07 11:34:39 +02:00
Simone Mainardi
99989d0200
Implements flow lua scripts ui (simple mode)
2019-10-01 23:53:20 +02:00
Simone Mainardi
6810c86d22
Reworks flow lua scripts ui (expert mode)
2019-10-01 23:10:25 +02:00
Simone Mainardi
6db2c6392f
Stores flow lua scripts benchmarks and shows them in the ui
2019-10-01 17:06:29 +02:00
Simone Mainardi
79b69c2e6f
Flattens out the structure of lua flow callbacks
2019-09-17 18:22:55 +02:00
Simone Mainardi
31f8f8ecb9
Hides submit button when no flow callbacks are available
2019-09-17 14:28:06 +02:00
Simone Mainardi
e2c9e729a4
Implements flow check modules enable/disable prefs
2019-09-17 11:57:29 +02:00
Simone Mainardi
b3d595653e
Initial implementation of lua flow callback scripts and blacklisted alerts
...
Partially implements #2842
2019-09-16 18:27:46 +02:00