crowdsec/pkg
blotus 25a2d528b0
Alerts flush: Optimization of the flush mechanism (batch and limit to one job) + add cscli alerts flush command (#1024)
- Don't allow running more than one alert flush job at a time to prevent runaway CPU usage in some case. (fix High CPU after Upgrade to 1.2.0 #1022)
 - Add a cscli alerts flush command to manually flush the alerts in the database (fixes Improvement/Manual flush mechanism #1023 ).
 - Enable cascading deletion on alerts as we upgraded ent: Deleting an alert in the database will automatically delete all related decisions, events and meta
 - Add an index on alerts.id to try to improve flush performance with very big sqlite database.
- Flush alert now operates in batch
2021-10-26 13:33:45 +02:00
..
acquisition Fix bugs in cloudwatch acq (#991) 2021-10-22 10:35:05 +02:00
apiclient fix #919 : display error message (#929) 2021-09-02 12:46:32 +02:00
apiserver ensure machineID is included early enough into the alert (#1004) 2021-10-11 15:02:16 +02:00
csconfig hubtests revamp + cscli explain (#988) 2021-10-04 17:14:52 +02:00
csplugin fix plugins logging in right level (#990) 2021-09-28 14:44:21 +02:00
csprofiles Output plugins (#878) 2021-08-25 11:43:29 +02:00
cstest fix sort :/ (#1007) 2021-10-12 19:16:24 +02:00
cwhub hubtests revamp + cscli explain (#988) 2021-10-04 17:14:52 +02:00
cwversion update to use cdn for hub (#920) 2021-09-02 15:17:37 +02:00
database Alerts flush: Optimization of the flush mechanism (batch and limit to one job) + add cscli alerts flush command (#1024) 2021-10-26 13:33:45 +02:00
exprhelpers add ParseUri() expr helper (#994) 2021-10-08 16:50:31 +02:00
leakybucket Multiple fixes (#1006) 2021-10-12 14:09:17 +02:00
metabase fix #842 #837 (#845) 2021-07-01 18:15:22 +02:00
models hubtests revamp + cscli explain (#988) 2021-10-04 17:14:52 +02:00
parser hubtests revamp + cscli explain (#988) 2021-10-04 17:14:52 +02:00
protobufs Add plugin interface code in protobufs package (#921) 2021-08-31 14:40:17 +02:00
time more linting fixes 2020-05-20 11:26:21 +02:00
types hubtests revamp + cscli explain (#988) 2021-10-04 17:14:52 +02:00