With this feature enhancement, FortiAnalyzer log-forward-cache-size can set more than 80% system reserved space helping to prevent log loss.
When the cache is full, the latest logs are kept and older logs are dropped.
- In the FortiAnalyzer CLI, enter the following commands to set the log forward cache size.
In the following example, the cache size is set to 2000.
config system global
set log-forward-cache-size 2000
Log-forward disk cache will be allocated from available disk quota and reserved space.
All logs currently in log-forward disk cache will be dropped.
Do you want to continue? (y/n)
- In the CLI, enter the following command to see space usage:
diagnose log device
Total Quota Summary:
Total Quota Adom Allocated Logfwd Allocated Available Allocate%
38140.9GB 32509.6GB 712.0GB(1000.0GB-288.0GB(reserved space)) 4919.3GB 87.1%
System Storage Summary:
Total Used Available Use%
38500.9GB 26634.6GB 11866.4GB 69.2%
Reserved space: 360.0GB ( 0.9% of total space, system reserved: 310.0GB, FortiRecorder disk quota: 50.0GB)