Insight and log files

Started by lebidochon, August 04, 2022, 03:59:12 PM

Previous topic - Next topic
Hello,

OPNsense 22.7_4-amd64
Intel(R) Xeon(R) D-2146NT CPU @ 2.30GHz (8 cores, 16 threads)
ram: 16 gigabytes
ssd: 100 gigabytes

Problem solved :
flowd_aggregate: off, I erased all files... now it's ok.

I have to keep my log data (ip and vpn) for a year.

1)Question 1:
NetFlow: Collect NetFlow data on this firewall for use with Insight. Note that the local cache only holds the latest 100 MB of data.
My data greatly exceeds 100 MB ... how to increase this size?

2)Question 2:
SYSTEM->SETTINGS->LOGGING->Preserve logs (Days)=720
My logs will be kept for 720 days... whatever the size of the file?
Does this parameter apply to DHCP / OPENVPN / FIREWALL logs?
After 720 days what happens to the log files?
Is the download limited in maximum size?

Thanks in advance ...

Hello ,

I tried to download the firewall logs. This error message appears:

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/LogController.php on line 106

Is there a parameter to increase the memory size for files?
Thanks in advance ...