Commit graph

88 commits

Author SHA1 Message Date
MatteoBiscosi
c103a10450 Fixes wrong check added for clickhouse 2021-11-05 19:26:18 +01:00
MatteoBiscosi
2291fe8076 Fixed single alert delete using clickhouse db 2021-11-05 19:22:19 +01:00
Alfredo Cardigliano
2d846466e1 Fix alerts delete clickhouse (#6046) 2021-11-05 17:35:05 +01:00
Alfredo Cardigliano
fd61b2bb58 Convert datetime to epoch in select_historical with clickhouse (#6046) 2021-11-05 16:57:18 +01:00
Alfredo Cardigliano
d2d42ad180 Fix alert count with clickhouse (#6046) 2021-11-05 13:03:56 +01:00
Alfredo Cardigliano
643fdeec68 Fix tstamp in select_historical and count_by_24h_historical 2021-11-05 12:42:57 +01:00
MatteoBiscosi
cf51741407 Added interface ID to where only with clickhouse 2021-11-05 12:13:54 +01:00
MatteoBiscosi
1367f4260c Added interface ID to where clause into alert queries (#6047) 2021-11-05 12:13:54 +01:00
Alfredo Cardigliano
211bce6731 Fix count_by_severity_and_time_historical with clickhouse (#6046) 2021-11-05 11:52:11 +01:00
Luca Deri
13407f6761 Fixes for dumping alerts into ClickHouse 2021-11-04 19:05:50 +01:00
Simone Mainardi
d725f5a9b4 Fixes for REST API ts.lua returning 24h data
Addresses #5988
2021-10-19 12:45:56 +02:00
MatteoBiscosi
bdb4ceb7e0 Implements checkmk timeseries alert integration (#5269) 2021-10-19 10:12:27 +02:00
MatteoBiscosi
10cde0e33e Set score default operator to gte (#5858) 2021-10-12 11:26:36 +02:00
MatteoBiscosi
937a8894d2 Implement persistent sorting into alerts page (#5935) 2021-10-07 17:23:36 +02:00
Simone Mainardi
2cb849c98f Implements alert filters by score
Implements #5859
2021-09-09 18:27:01 +02:00
Alfredo Cardigliano
67657f1952 Fix filters with 0 value 2021-07-20 11:04:23 +02:00
Alfredo Cardigliano
748930f4a6 Add ability to filter on IP (regardless of cli/src) flow alerts 2021-07-08 18:03:36 +02:00
Simone Mainardi
ae0d1e9543 Implements toggle and filter for acknowledged alerts
Addresses #5600
2021-07-06 17:12:29 +02:00
Alfredo Cardigliano
a3770ec521 Support IP (src or dst) filter on flows 2021-07-06 15:21:45 +02:00
Simone Mainardi
132dccf362 Implements filter to see acknowledged alerts
Addresses #5600
2021-07-06 14:26:25 +02:00
Alfredo Cardigliano
be539cca6e Fix role filter 2021-07-05 19:02:06 +02:00
Simone Mainardi
04db8cc274 Merges acknowledge and label alerts into acknowledge
Addresses #5600
2021-07-05 18:02:56 +02:00
Simone Mainardi
a767ad1e26 Prevents acknowledged alerts from being returned by default 2021-07-02 17:50:14 +02:00
Simone Mainardi
f1083262e3 Implements facilities to label alerts
Implements #5600
2021-07-02 17:25:58 +02:00
Simone Mainardi
96c5e2025d Fixes hardcoded URL 2021-07-02 15:12:03 +02:00
Simone Mainardi
feb65be1ca Implements acknowledged alerts
Implements #5600
2021-07-02 14:58:38 +02:00
Alfredo Cardigliano
49a1803555 Fix ip/vlan filters on flow alerts 2021-07-02 10:58:34 +02:00
Alfredo Cardigliano
24f9364c36 Handle special cases for engaged alerts with the new filtering engine 2021-07-01 15:37:43 +02:00
Alfredo Cardigliano
f3dc40c1c0 Port 'role' filters to the new filtering engine 2021-07-01 14:48:58 +02:00
Alfredo Cardigliano
6827241e13 Defer sql condition generation. Rework handling of special cases of conditions. Fix host/vlan filters. 2021-07-01 12:41:36 +02:00
Alfredo Cardigliano
25aa2c0a9f Engaged alert filtering (wip) 2021-07-01 09:42:47 +02:00
Alfredo Cardigliano
ae912ba460 Add comments 2021-06-30 18:45:13 +02:00
Alfredo Cardigliano
d92de684cf Rework add_time_filter 2021-06-30 16:27:05 +02:00
Alfredo Cardigliano
2c6e210552 Missing require. Debug cleanup. 2021-06-30 15:40:32 +02:00
Simone Mainardi
f14b38bd6b Implements alert sort by duration 2021-06-30 15:34:34 +02:00
Alfredo Cardigliano
d6e33043aa Add support for multiple tags of the same type in the alert filter (backend) 2021-06-30 15:18:47 +02:00
Simone Mainardi
0a6b513710 Implements ability to store/search/filter host alerts by cli/srv
Addresses #5575
2021-06-30 12:58:00 +02:00
Alfredo Cardigliano
1d6a8bfe25 Accept list of filters for alerts 2021-06-30 11:38:26 +02:00
Alfredo Cardigliano
a8d08b2d3e Add support for more filter operators in alerts explorer 2021-06-29 18:25:45 +02:00
Simone Mainardi
9b3b0b93bf Implements download of user alerts 2021-06-25 16:14:29 +02:00
Simone Mainardi
6121eec89c Implements ability to filter/search iface alerts by subject
Addresses #5563
2021-06-24 16:44:23 +02:00
Alfredo Cardigliano
279ed66deb Add alert type filter for all families 2021-06-23 12:53:20 +02:00
Alfredo Cardigliano
6624e382ab HaEnable support for OR in ninde flow explorer. Cleanup operator separator (configured in tag_utils). Cleanup code. 2021-06-14 17:26:50 +02:00
Simone Mainardi
6e5d5ff5eb Disables empty alert pages, reworks historical/engaged links
Addresses #5486
2021-06-11 09:33:09 +02:00
Alfredo Cardigliano
1c50397e5b Add tot count to alert_store get_stats 2021-06-09 08:41:04 +00:00
Matteo Biscosi
a35873d484 Moved new alert dashboards rests into pro version 2021-06-07 19:24:05 +02:00
lucapruneti
33a89e993e
CSV Export (#5445)
* Change host alert function name to json

* Refactored *_alert_store function with format_json, added csv format tohost alert

* Added .vscode directory to gitignore

* Refactor alert_store:to_csv function to single loop format

* Removed no_data value for no records in alert csv download

* Implemented csv export for alerts

* Merge with dev

* Removed row_id alert field to be exported in csv

* Refactored alert/*/list.lua with simple decision value format construct

* Refactored alerts csv export

* Fix removed output test files

* Added alert csv export for subdocuments

* Modified gitignore

* Change MSG values to export in alerts

* Added flow information in alert export

* Added export msg.description for alert
2021-06-04 18:10:26 +02:00
lucapruneti
1338d0956d
Download Alerts Improvements in CSV format (#5442)
* Change host alert function name to json

* Refactored *_alert_store function with format_json, added csv format tohost alert

* Added .vscode directory to gitignore

* Refactor alert_store:to_csv function to single loop format

* Removed no_data value for no records in alert csv download

* Implemented csv export for alerts

* Merge with dev

* Removed row_id alert field to be exported in csv

* Refactored alert/*/list.lua with simple decision value format construct

* Refactored alerts csv export

* Fix removed output test files

* Added alert csv export for subdocuments

* Modified gitignore

* Change MSG values to export in alerts
2021-06-04 10:03:19 +02:00
lucapruneti
fc7efc2a0c
issue_5404_download_alert_format-inconsistent (#5433)
* Change host alert function name to json

* Refactored *_alert_store function with format_json, added csv format tohost alert

* Added .vscode directory to gitignore

* Refactor alert_store:to_csv function to single loop format

* Removed no_data value for no records in alert csv download

* Implemented csv export for alerts

* Merge with dev

* Removed row_id alert field to be exported in csv

* Refactored alert/*/list.lua with simple decision value format construct

* Refactored alerts csv export

* Fix removed output test files

* Added alert csv export for subdocuments

* Modified gitignore
2021-06-04 08:49:31 +02:00
Alfredo Cardigliano
f6f089c69e Add top mac and networks by alert count 2021-06-03 15:12:37 +02:00