Aug 25 22:36:40 OPNsense configd.py: [13707223-0fe2-4f3d-8efb-2ddb7f7b13a1] request netflow data aggregator timeseries for FlowInterfaceTotalsAug 25 22:36:41 OPNsense configd.py: [f20f15a8-f87e-4cce-9b24-d0fc76ea3bac] request netflow data aggregator top usage for FlowDstPortTotalsAug 25 22:36:41 OPNsense configd.py: [6fc0132c-0251-4824-95c6-fe4a7a8590ea] request netflow data aggregator top usage for FlowSourceAddrTotalsAug 25 22:36:41 OPNsense configd.py: [2f73198c-0c5e-442d-bdc9-4f37b9ceb6c1] request netflow data aggregator top usage for FlowInterfaceTotalsAug 25 22:36:42 OPNsense configd.py: [dc3bab3e-56d6-46bd-b5aa-5c5f3460be54] request netflow data aggregator top usage for FlowInterfaceTotalsAug 25 22:36:42 OPNsense configd.py: [14cbc454-8242-460d-aa01-7685e70afd36] request netflow data aggregator metadataAug 25 22:37:02 OPNsense configd.py: [1df39fb7-ebbb-414e-9e55-e55101168b30] request netflow data aggregator top usage for FlowSourceAddrDetailsAug 26 12:25:48 OPNsense configd.py: [da581fa7-52a4-4a88-84d1-819b653fdd85] retrieve flow cache statistics
Code: [Select]root@OPNsense:/var/log # ls -lah /var/log/flowd*-rw------- 1 root wheel 2.1M Sep 2 12:50 /var/log/flowd.log-rw------- 1 root wheel 11M Sep 2 12:21 /var/log/flowd.log.000001-rw------- 1 root wheel 11M Sep 2 10:25 /var/log/flowd.log.000002-rw------- 1 root wheel 11M Sep 2 08:12 /var/log/flowd.log.000003-rw------- 1 root wheel 11M Sep 2 05:58 /var/log/flowd.log.000004-rw------- 1 root wheel 11M Sep 2 03:29 /var/log/flowd.log.000005-rw------- 1 root wheel 11M Sep 2 00:58 /var/log/flowd.log.000006-rw------- 1 root wheel 11M Sep 1 22:46 /var/log/flowd.log.000007-rw------- 1 root wheel 11M Sep 1 20:17 /var/log/flowd.log.000008-rw------- 1 root wheel 107M Sep 1 17:56 /var/log/flowd.log.000009-rw------- 1 root wheel 11M Aug 31 20:39 /var/log/flowd.log.000010root@OPNsense:/var/log #
root@OPNsense:/var/log # ls -lah /var/log/flowd*-rw------- 1 root wheel 2.1M Sep 2 12:50 /var/log/flowd.log-rw------- 1 root wheel 11M Sep 2 12:21 /var/log/flowd.log.000001-rw------- 1 root wheel 11M Sep 2 10:25 /var/log/flowd.log.000002-rw------- 1 root wheel 11M Sep 2 08:12 /var/log/flowd.log.000003-rw------- 1 root wheel 11M Sep 2 05:58 /var/log/flowd.log.000004-rw------- 1 root wheel 11M Sep 2 03:29 /var/log/flowd.log.000005-rw------- 1 root wheel 11M Sep 2 00:58 /var/log/flowd.log.000006-rw------- 1 root wheel 11M Sep 1 22:46 /var/log/flowd.log.000007-rw------- 1 root wheel 11M Sep 1 20:17 /var/log/flowd.log.000008-rw------- 1 root wheel 107M Sep 1 17:56 /var/log/flowd.log.000009-rw------- 1 root wheel 11M Aug 31 20:39 /var/log/flowd.log.000010root@OPNsense:/var/log #
root@OPNsense:/var/log # ls -lah /var/log/flowd*-rw------- 1 root wheel 8.4M Sep 2 16:03 /var/log/flowd.log-rw------- 1 root wheel 11M Sep 2 14:25 /var/log/flowd.log.000001-rw------- 1 root wheel 11M Sep 2 12:21 /var/log/flowd.log.000002-rw------- 1 root wheel 11M Sep 2 10:25 /var/log/flowd.log.000003-rw------- 1 root wheel 11M Sep 2 08:12 /var/log/flowd.log.000004-rw------- 1 root wheel 11M Sep 2 05:58 /var/log/flowd.log.000005-rw------- 1 root wheel 11M Sep 2 03:29 /var/log/flowd.log.000006-rw------- 1 root wheel 11M Sep 2 00:58 /var/log/flowd.log.000007-rw------- 1 root wheel 11M Sep 1 22:46 /var/log/flowd.log.000008-rw------- 1 root wheel 11M Sep 1 20:17 /var/log/flowd.log.000009-rw------- 1 root wheel 107M Sep 1 17:56 /var/log/flowd.log.000010root@OPNsense:/var/log #
...MAX_FILE_SIZE_MB=10MAX_LOGS=10...def check_rotate(): """ Checks if flowd log needs to be rotated, if so perform rotate. We keep [MAX_LOGS] number of logs containing approx. [MAX_FILE_SIZE_MB] data, the flowd data probably contains more detailed data then the stored aggregates. :return: None...