mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Add cli/srv location to flow alerts
This commit is contained in:
parent
bbbf44bf75
commit
f633292e83
3 changed files with 33 additions and 0 deletions
|
|
@ -163,6 +163,8 @@ IS_SRV_ATTACKER AS is_srv_attacker,
|
|||
IS_SRV_VICTIM AS is_srv_victim,
|
||||
IS_CLI_BLACKLISTED AS cli_blacklisted,
|
||||
IS_SRV_BLACKLISTED AS srv_blacklisted,
|
||||
CLIENT_LOCATION AS cli_location,
|
||||
SERVER_LOCATION AS srv_location,
|
||||
ALERTS_MAP AS alerts_map,
|
||||
INFO AS info
|
||||
FROM `flows`
|
||||
|
|
@ -245,6 +247,10 @@ ALTER TABLE `flow_alerts` ADD COLUMN IF NOT EXISTS cli_network UInt16;
|
|||
ALTER TABLE `flow_alerts` ADD COLUMN IF NOT EXISTS srv_network UInt16;
|
||||
@
|
||||
ALTER TABLE `flow_alerts` ADD COLUMN IF NOT EXISTS info String;
|
||||
@
|
||||
ALTER TABLE `flow_alerts` ADD COLUMN IF NOT EXISTS cli_location UInt8;
|
||||
@
|
||||
ALTER TABLE `flow_alerts` ADD COLUMN IF NOT EXISTS srv_location UInt8;
|
||||
|
||||
@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue