Fix netflow filters on database

Former-commit-id: ae1326117f0a78f2234485f1a260df2923e6ce6b
This commit is contained in:
fermin831 2019-03-20 17:19:56 +01:00
parent 9b345ea947
commit a0f4163c1d
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,8 @@ CREATE TABLE IF NOT EXISTS `tnetwork_matrix` (
UPDATE `treport_content` SET type="netflow_summary" WHERE type="netflow_pie" OR type="netflow_statistics";
UPDATE `tnetflow_filter` SET aggregate="dstip" WHERE aggregate NOT IN ("dstip", "srcip", "dstport", "srcport");
-- ----------------------------------------------------------------------
-- Add column in table `tagent_custom_fields`
-- ----------------------------------------------------------------------

View File

@ -1355,6 +1355,7 @@ ALTER TABLE tgraph ADD COLUMN `fullscale` tinyint(1) UNSIGNED NOT NULL default '
-- Table `tnetflow_filter`
-- ---------------------------------------------------------------------
ALTER TABLE tnetflow_filter ADD COLUMN `router_ip` TEXT NOT NULL DEFAULT "";
UPDATE `tnetflow_filter` SET aggregate="dstip" WHERE aggregate NOT IN ("dstip", "srcip", "dstport", "srcport");
-- ---------------------------------------------------------------------
-- Table `treport_custom_sql`