FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
alaxkar
Staff
Staff
Article Id 370821
Description This article describes how to delete events in mass from the EventDB database to free up space and purge old and unnecessary data. 
Scope FortiSIEM.
Solution

To manually delete the outdated data from the event database, remove all files that are older than X days.

 

Before deleting anything, use this command to check what will be deleted:


find /data/eventdb/ -type f -mtime +150 -name '*' -exec ls -lh {} \;


find /data/eventdb/ -type f -mtime +<number of days> -name '*' -exec rm -rfv {} \;

For example, to remove all the data and events older than 150 days, run the following:

 

find /data/eventdb/ -type f -mtime +150 -name '*' -exec rm -rfv {} \;

Note: This example illustrates removing data that is 150 days old. This number can be adjusted based on specific requirements.

Contributors